#6F1E98#6F1E98
#6F1E98 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.187 H 310.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #6F1E98 |
|---|---|
| RGB | rgb(111, 30, 152) |
| HSL | hsl(280, 67%, 36%) |
| HSV | hsv(280, 80%, 60%) |
| CMYK | cmyk(27%, 80.3%, 0%, 40.4%) |
| CIE-LAB | lab(30.82, 53.71, -49.85) |
| CIE-LCH | lch(30.82, 73.28, 317.14°) |
| OKLab | oklab(42.79% 0.1223 -0.1414) |
| OKLCH | oklch(42.79% 0.187 310.9) |
| XYZ | xyz(12.6862, 6.5754, 30.3006) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.84
Rebeccapurple
#663399
ΔE00 4.08
Purple
#800080
ΔE00 6.54
Darkmagenta
#8B008B
ΔE00 6.64
Darkish Purple
#751973
ΔE00 7.68
Indigo
#4B0082
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F1E98 #47981E
analogous
#321E98 #6F1E98 #981E84
triadic
#6F1E98 #986F1E #1E986F
tetradic
#6F1E98 #98321E #47981E #1E8498
square
#6F1E98 #98321E #47981E #1E8498
split-complementary
#6F1E98 #84981E #1E9832
monochromatic
#240A32 #4A1465 #6F1E98 #9428CB #AF53DD
Accessibility & contrast
On white
9.07
#6F1E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#6F1E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F1E98
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F1E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F1E98 | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 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: #6f1e98; /* rgb */ color: rgb(111, 30, 152); /* oklch */ color: oklch(42.8% 0.187 310.9);
Tailwind
colors: {
custom: {
50: '#9d64b7',
500: '#6f1e98',
950: '#000000',
},
}SCSS
$custom: #6f1e98; $custom-light: #9d64b7; $custom-dark: #000000;
JSON
{
"hex": "#6f1e98",
"rgb": {
"r": 111,
"g": 30,
"b": 152
},
"hsl": {
"h": 279.836,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.42792,
"c": 0.18692,
"h": 310.9
},
"luminance": 0.06575
}Semantic roles & 50–950 ramp
primary
#6F1E98
secondary
#77C051
accent
#EA3E78
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80