#6F2298#6F2298
#6F2298 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.183 H 310.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2298 |
|---|---|
| RGB | rgb(111, 34, 152) |
| HSL | hsl(279, 63%, 36%) |
| HSV | hsv(279, 78%, 60%) |
| CMYK | cmyk(27%, 77.6%, 0%, 40.4%) |
| CIE-LAB | lab(31.33, 52.26, -49.03) |
| CIE-LCH | lch(31.33, 71.66, 316.82°) |
| OKLab | oklab(43.15% 0.1188 -0.139) |
| OKLCH | oklch(43.15% 0.183 310.5) |
| XYZ | xyz(12.7940, 6.7909, 30.3365) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.75
Rebeccapurple
#663399
ΔE00 3.58
Purple
#800080
ΔE00 6.71
Darkmagenta
#8B008B
ΔE00 6.73
Darkish Purple
#751973
ΔE00 7.72
Indigo
#4B0082
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2298 #4B9822
analogous
#342298 #6F2298 #982286
triadic
#6F2298 #986F22 #22986F
tetradic
#6F2298 #983422 #4B9822 #228698
square
#6F2298 #983422 #4B9822 #228698
split-complementary
#6F2298 #869822 #229834
monochromatic
#260C34 #4A1766 #6F2298 #942DCA #AE5ADA
Accessibility & contrast
On white
8.91
#6F2298 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#6F2298 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2298
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2298 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2298 | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#024B96
Tritanopia (blue-blind)
#693E5C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6f2298; /* rgb */ color: rgb(111, 34, 152); /* oklch */ color: oklch(43.1% 0.183 310.5);
Tailwind
colors: {
custom: {
50: '#9d66b7',
500: '#6f2298',
950: '#000000',
},
}SCSS
$custom: #6f2298; $custom-light: #9d66b7; $custom-dark: #000000;
JSON
{
"hex": "#6f2298",
"rgb": {
"r": 111,
"g": 34,
"b": 152
},
"hsl": {
"h": 279.153,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.43147,
"c": 0.18285,
"h": 310.5
},
"luminance": 0.06791
}Semantic roles & 50–950 ramp
primary
#6F2298
secondary
#7BBE57
accent
#E6417B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80