#6F1F96#6F1F96
#6F1F96 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.184 H 311.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6F1F96 |
|---|---|
| RGB | rgb(111, 31, 150) |
| HSL | hsl(280, 66%, 35%) |
| HSV | hsv(280, 79%, 59%) |
| CMYK | cmyk(26%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(30.79, 52.93, -48.68) |
| CIE-LCH | lch(30.79, 71.91, 317.40°) |
| OKLab | oklab(42.72% 0.1219 -0.1379) |
| OKLCH | oklch(42.72% 0.184 311.5) |
| XYZ | xyz(12.5495, 6.5618, 29.4537) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.79
Rebeccapurple
#663399
ΔE00 4.05
Purple
#800080
ΔE00 6.31
Darkmagenta
#8B008B
ΔE00 6.46
Darkish Purple
#751973
ΔE00 7.36
Indigo
#4B0082
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F1F96 #46961F
analogous
#331F96 #6F1F96 #961F81
triadic
#6F1F96 #966F1F #1F966F
tetradic
#6F1F96 #96331F #46961F #1F8196
square
#6F1F96 #96331F #46961F #1F8196
split-complementary
#6F1F96 #81961F #1F9633
monochromatic
#240A31 #491563 #6F1F96 #9529C9 #AF54DC
Accessibility & contrast
On white
9.08
#6F1F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#6F1F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F1F96
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F1F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F1F96 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#024A94
Tritanopia (blue-blind)
#6A3C5A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6f1f96; /* rgb */ color: rgb(111, 31, 150); /* oklch */ color: oklch(42.7% 0.184 311.5);
Tailwind
colors: {
custom: {
50: '#9d65b6',
500: '#6f1f96',
950: '#000000',
},
}SCSS
$custom: #6f1f96; $custom-light: #9d65b6; $custom-dark: #000000;
JSON
{
"hex": "#6f1f96",
"rgb": {
"r": 111,
"g": 31,
"b": 150
},
"hsl": {
"h": 280.336,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.42721,
"c": 0.18406,
"h": 311.5
},
"luminance": 0.06561
}Semantic roles & 50–950 ramp
primary
#6F1F96
secondary
#76BF52
accent
#E93F77
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80