#6F1F98#6F1F98
#6F1F98 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.186 H 310.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6F1F98 |
|---|---|
| RGB | rgb(111, 31, 152) |
| HSL | hsl(280, 66%, 36%) |
| HSV | hsv(280, 80%, 60%) |
| CMYK | cmyk(27%, 79.6%, 0%, 40.4%) |
| CIE-LAB | lab(30.94, 53.36, -49.65) |
| CIE-LCH | lch(30.94, 72.89, 317.06°) |
| OKLab | oklab(42.88% 0.1215 -0.1408) |
| OKLCH | oklch(42.88% 0.186 310.8) |
| XYZ | xyz(12.7119, 6.6268, 30.3091) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.80
Rebeccapurple
#663399
ΔE00 3.96
Purple
#800080
ΔE00 6.58
Darkmagenta
#8B008B
ΔE00 6.65
Darkish Purple
#751973
ΔE00 7.69
Indigo
#4B0082
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F1F98 #48981F
analogous
#321F98 #6F1F98 #981F84
triadic
#6F1F98 #986F1F #1F986F
tetradic
#6F1F98 #98321F #48981F #1F8498
square
#6F1F98 #98321F #48981F #1F8498
split-complementary
#6F1F98 #84981F #1F9832
monochromatic
#250A32 #4A1565 #6F1F98 #9429CB #AE55DC
Accessibility & contrast
On white
9.03
#6F1F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6F1F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F1F98
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F1F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F1F98 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#693D5B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6f1f98; /* rgb */ color: rgb(111, 31, 152); /* oklch */ color: oklch(42.9% 0.186 310.8);
Tailwind
colors: {
custom: {
50: '#9d65b7',
500: '#6f1f98',
950: '#000000',
},
}SCSS
$custom: #6f1f98; $custom-light: #9d65b7; $custom-dark: #000000;
JSON
{
"hex": "#6f1f98",
"rgb": {
"r": 111,
"g": 31,
"b": 152
},
"hsl": {
"h": 279.669,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.42877,
"c": 0.18594,
"h": 310.8
},
"luminance": 0.06626
}Semantic roles & 50–950 ramp
primary
#6F1F98
secondary
#78C053
accent
#E93F78
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80