#6F1896#6F1896
#6F1896 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.2% C 0.190 H 312.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6F1896 |
|---|---|
| RGB | rgb(111, 24, 150) |
| HSL | hsl(281, 72%, 34%) |
| HSV | hsv(281, 84%, 59%) |
| CMYK | cmyk(26%, 84%, 0%, 41.2%) |
| CIE-LAB | lab(30.00, 55.23, -49.96) |
| CIE-LCH | lch(30.00, 74.47, 317.87°) |
| OKLab | oklab(42.17% 0.1274 -0.1416) |
| OKLCH | oklch(42.17% 0.19 312) |
| XYZ | xyz(12.3862, 6.2351, 29.3993) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.10
Rebeccapurple
#663399
ΔE00 4.83
Purple
#800080
ΔE00 6.12
Darkmagenta
#8B008B
ΔE00 6.40
Darkish Purple
#751973
ΔE00 7.38
Indigo
#4B0082
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F1896 #3F9618
analogous
#301896 #6F1896 #96187E
triadic
#6F1896 #966F18 #18966F
tetradic
#6F1896 #963018 #3F9618 #187E96
square
#6F1896 #963018 #3F9618 #187E96
split-complementary
#6F1896 #7E9618 #189630
monochromatic
#21072C #481061 #6F1896 #9620CB #B247E2
Accessibility & contrast
On white
9.35
#6F1896 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#6F1896 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F1896
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F1896 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F1896 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#6A3959
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6f1896; /* rgb */ color: rgb(111, 24, 150); /* oklch */ color: oklch(42.2% 0.190 312.0);
Tailwind
colors: {
custom: {
50: '#9d62b6',
500: '#6f1896',
950: '#000000',
},
}SCSS
$custom: #6f1896; $custom-light: #9d62b6; $custom-dark: #000000;
JSON
{
"hex": "#6f1896",
"rgb": {
"r": 111,
"g": 24,
"b": 150
},
"hsl": {
"h": 281.429,
"s": 72.414,
"l": 34.118
},
"oklch": {
"l": 0.42168,
"c": 0.19049,
"h": 312
},
"luminance": 0.06235
}Semantic roles & 50–950 ramp
primary
#6F1896
secondary
#6DC347
accent
#EF3971
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80