About #501FB2
#501FB2 is a medium-dark, saturated violet with a hue angle of 260°. It belongs to the purple family and reads as a cool color. In the RGB model blue is the strongest channel at 178 (70%) and green the weakest at 31 (12%). Colors like this are typically used for headers, navigation bars and strong brand areas.
- It is step 600 in the generated violet scale on this site.
Color conversions
| HEX | #501FB2 |
|---|---|
| RGB | rgb(80, 31, 178) |
| RGB percent | rgb(31.4%, 12.2%, 69.8%) |
| HSL | hsl(260, 70%, 41%) |
| HSV / HSB | hsv(260, 83%, 70%) |
| CMYK | cmyk(55%, 83%, 0%, 30%) |
| CIELAB (D65) | lab(29.2 55 -68.5) |
| Decimal | 5250994 |
| Binary | 01010000 00011111 10110010 |
HEX 50 1F B2 → 80, 31, 178 (each pair is a base-16 number: 5×16 + 0 = 80)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #501FB2
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #501FB2 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 9.63:1 | Pass | Pass | Pass | Pass |
| Black text | 2.18:1 | Fail | Fail | Fail | Fail |
Relative luminance is 0.0590 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#0048b6
Deuteranopia#0041af
Tritanopia#274c6a
Achromatopsia#454545
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 12.1). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| mediumblue | #0000cd | 6.4 |
| rebeccapurple | #663399 | 7 |
| indigo | #4b0082 | 8.2 |
| blue | #0000ff | 8.8 |
CSS
.element {
color: #501fb2;
background-color: rgb(80, 31, 178);
border: 1px solid hsl(260, 70%, 41%);
box-shadow: 0 2px 8px rgb(80 31 178 / 50%);
}
:root { --brand: #501fb2; }