#6F2398#6F2398
#6F2398 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.182 H 310.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2398 |
|---|---|
| RGB | rgb(111, 35, 152) |
| HSL | hsl(279, 63%, 37%) |
| HSV | hsv(279, 77%, 60%) |
| CMYK | cmyk(27%, 77%, 0%, 40.4%) |
| CIE-LAB | lab(31.46, 51.87, -48.81) |
| CIE-LCH | lch(31.46, 71.23, 316.74°) |
| OKLab | oklab(43.24% 0.1179 -0.1383) |
| OKLCH | oklch(43.24% 0.182 310.4) |
| XYZ | xyz(12.8230, 6.8489, 30.3461) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.75
Rebeccapurple
#663399
ΔE00 3.46
Purple
#800080
ΔE00 6.76
Darkmagenta
#8B008B
ΔE00 6.76
Darkish Purple
#751973
ΔE00 7.73
Indigo
#4B0082
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2398 #4C9823
analogous
#342398 #6F2398 #982387
triadic
#6F2398 #986F23 #23986F
tetradic
#6F2398 #983423 #4C9823 #238798
square
#6F2398 #983423 #4C9823 #238798
split-complementary
#6F2398 #879823 #239834
monochromatic
#260C35 #4B1866 #6F2398 #932ECA #AD5CD9
Accessibility & contrast
On white
8.86
#6F2398 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#6F2398 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2398
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2398 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#044B96
Tritanopia (blue-blind)
#693F5C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6f2398; /* rgb */ color: rgb(111, 35, 152); /* oklch */ color: oklch(43.2% 0.182 310.4);
Tailwind
colors: {
custom: {
50: '#9d67b7',
500: '#6f2398',
950: '#000000',
},
}SCSS
$custom: #6f2398; $custom-light: #9d67b7; $custom-dark: #000000;
JSON
{
"hex": "#6f2398",
"rgb": {
"r": 111,
"g": 35,
"b": 152
},
"hsl": {
"h": 278.974,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.43242,
"c": 0.18176,
"h": 310.4
},
"luminance": 0.06849
}Semantic roles & 50–950 ramp
primary
#6F2398
secondary
#7CBE59
accent
#E6427B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80