#6F1F9D#6F1F9D
#6F1F9D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.191 H 309.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #6F1F9D |
|---|---|
| RGB | rgb(111, 31, 157) |
| HSL | hsl(278, 67%, 37%) |
| HSV | hsv(278, 80%, 62%) |
| CMYK | cmyk(29.3%, 80.3%, 0%, 38.4%) |
| CIE-LAB | lab(31.33, 54.45, -52.07) |
| CIE-LCH | lch(31.33, 75.34, 316.28°) |
| OKLab | oklab(43.27% 0.1203 -0.1479) |
| OKLCH | oklch(43.27% 0.191 309.1) |
| XYZ | xyz(13.1301, 6.7941, 32.5114) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.00
Rebeccapurple
#663399
ΔE00 3.86
Darkmagenta
#8B008B
ΔE00 7.17
Purple
#800080
ΔE00 7.26
Purple Blue
#5D21D0
ΔE00 8.12
Indigo
#4B0082
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F1F9D #4D9D1F
analogous
#301F9D #6F1F9D #9D1F8C
triadic
#6F1F9D #9D6F1F #1F9D6F
tetradic
#6F1F9D #9D301F #4D9D1F #1F8C9D
square
#6F1F9D #9D301F #4D9D1F #1F8C9D
split-complementary
#6F1F9D #8C9D1F #1F9D30
monochromatic
#270B37 #4B156A #6F1F9D #9329D0 #AD58DE
Accessibility & contrast
On white
8.90
#6F1F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#6F1F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F1F9D
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F1F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F1F9D | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#683F5E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6f1f9d; /* rgb */ color: rgb(111, 31, 157); /* oklch */ color: oklch(43.3% 0.191 309.1);
Tailwind
colors: {
custom: {
50: '#9d65bb',
500: '#6f1f9d',
950: '#000000',
},
}SCSS
$custom: #6f1f9d; $custom-light: #9d65bb; $custom-dark: #000000;
JSON
{
"hex": "#6f1f9d",
"rgb": {
"r": 111,
"g": 31,
"b": 157
},
"hsl": {
"h": 278.095,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.43274,
"c": 0.19063,
"h": 309.1
},
"luminance": 0.06794
}Semantic roles & 50–950 ramp
primary
#6F1F9D
secondary
#7DC256
accent
#EA3E7D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81