#6F1998#6F1998
#6F1998 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.4% C 0.191 H 311.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6F1998 |
|---|---|
| RGB | rgb(111, 25, 152) |
| HSL | hsl(281, 72%, 35%) |
| HSV | hsv(281, 84%, 60%) |
| CMYK | cmyk(27%, 83.6%, 0%, 40.4%) |
| CIE-LAB | lab(30.26, 55.35, -50.76) |
| CIE-LCH | lch(30.26, 75.10, 317.47°) |
| OKLab | oklab(42.4% 0.1262 -0.144) |
| OKLCH | oklch(42.4% 0.191 311.2) |
| XYZ | xyz(12.5696, 6.3421, 30.2617) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.06
Rebeccapurple
#663399
ΔE00 4.64
Purple
#800080
ΔE00 6.42
Darkmagenta
#8B008B
ΔE00 6.59
Indigo
#4B0082
ΔE00 7.51
Darkish Purple
#751973
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F1998 #429819
analogous
#301998 #6F1998 #981982
triadic
#6F1998 #986F19 #19986F
tetradic
#6F1998 #983019 #429819 #198298
square
#6F1998 #983019 #429819 #198298
split-complementary
#6F1998 #829819 #199830
monochromatic
#22082F #491063 #6F1998 #9522CD #B04AE1
Accessibility & contrast
On white
9.26
#6F1998 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#6F1998 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F1998
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F1998 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F1998 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#6A3A5A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6f1998; /* rgb */ color: rgb(111, 25, 152); /* oklch */ color: oklch(42.4% 0.191 311.2);
Tailwind
colors: {
custom: {
50: '#9d62b7',
500: '#6f1998',
950: '#000000',
},
}SCSS
$custom: #6f1998; $custom-light: #9d62b7; $custom-dark: #000000;
JSON
{
"hex": "#6f1998",
"rgb": {
"r": 111,
"g": 25,
"b": 152
},
"hsl": {
"h": 280.63,
"s": 71.751,
"l": 34.706
},
"oklch": {
"l": 0.424,
"c": 0.19145,
"h": 311.2
},
"luminance": 0.06342
}Semantic roles & 50–950 ramp
primary
#6F1998
secondary
#71C34A
accent
#EE3974
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80