#6F1F97#6F1F97
#6F1F97 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.185 H 311.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6F1F97 |
|---|---|
| RGB | rgb(111, 31, 151) |
| HSL | hsl(280, 66%, 36%) |
| HSV | hsv(280, 79%, 59%) |
| CMYK | cmyk(26.5%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(30.86, 53.15, -49.17) |
| CIE-LCH | lch(30.86, 72.40, 317.23°) |
| OKLab | oklab(42.8% 0.1217 -0.1394) |
| OKLCH | oklch(42.8% 0.185 311.1) |
| XYZ | xyz(12.6304, 6.5942, 29.8796) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.79
Rebeccapurple
#663399
ΔE00 4.00
Purple
#800080
ΔE00 6.44
Darkmagenta
#8B008B
ΔE00 6.56
Darkish Purple
#751973
ΔE00 7.52
Indigo
#4B0082
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F1F97 #47971F
analogous
#331F97 #6F1F97 #971F83
triadic
#6F1F97 #976F1F #1F976F
tetradic
#6F1F97 #97331F #47971F #1F8397
square
#6F1F97 #97331F #47971F #1F8397
split-complementary
#6F1F97 #83971F #1F9733
monochromatic
#240A31 #4A1564 #6F1F97 #9429CA #AF54DC
Accessibility & contrast
On white
9.06
#6F1F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#6F1F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F1F97
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F1F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F1F97 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#6A3D5B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6f1f97; /* rgb */ color: rgb(111, 31, 151); /* oklch */ color: oklch(42.8% 0.185 311.1);
Tailwind
colors: {
custom: {
50: '#9d65b6',
500: '#6f1f97',
950: '#000000',
},
}SCSS
$custom: #6f1f97; $custom-light: #9d65b6; $custom-dark: #000000;
JSON
{
"hex": "#6f1f97",
"rgb": {
"r": 111,
"g": 31,
"b": 151
},
"hsl": {
"h": 280,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.42799,
"c": 0.185,
"h": 311.1
},
"luminance": 0.06594
}Semantic roles & 50–950 ramp
primary
#6F1F97
secondary
#77BF52
accent
#E93F78
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80