#6E2295#6E2295
#6E2295 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.180 H 311.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2295 |
|---|---|
| RGB | rgb(110, 34, 149) |
| HSL | hsl(280, 63%, 36%) |
| HSV | hsv(280, 77%, 58%) |
| CMYK | cmyk(26.2%, 77.2%, 0%, 41.6%) |
| CIE-LAB | lab(30.95, 51.41, -47.81) |
| CIE-LCH | lch(30.95, 70.21, 317.07°) |
| OKLab | oklab(42.78% 0.118 -0.1354) |
| OKLCH | oklch(42.78% 0.18 311.1) |
| XYZ | xyz(12.4262, 6.6293, 29.0529) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.92
Rebeccapurple
#663399
ΔE00 3.66
Purple
#800080
ΔE00 6.45
Darkmagenta
#8B008B
ΔE00 6.62
Darkish Purple
#751973
ΔE00 7.33
Indigo
#4B0082
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2295 #499522
analogous
#342295 #6E2295 #952282
triadic
#6E2295 #956E22 #22956E
tetradic
#6E2295 #953422 #499522 #228295
square
#6E2295 #953422 #499522 #228295
split-complementary
#6E2295 #829522 #229534
monochromatic
#240B31 #491763 #6E2295 #932DC7 #AD58D9
Accessibility & contrast
On white
9.03
#6E2295 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6E2295 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2295
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2295 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2295 | 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)
#004598
Deuteranopia (green-blind)
#084A93
Tritanopia (blue-blind)
#693D5A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6e2295; /* rgb */ color: rgb(110, 34, 149); /* oklch */ color: oklch(42.8% 0.180 311.1);
Tailwind
colors: {
custom: {
50: '#9c66b5',
500: '#6e2295',
950: '#000000',
},
}SCSS
$custom: #6e2295; $custom-light: #9c66b5; $custom-dark: #000000;
JSON
{
"hex": "#6e2295",
"rgb": {
"r": 110,
"g": 34,
"b": 149
},
"hsl": {
"h": 279.652,
"s": 62.842,
"l": 35.882
},
"oklch": {
"l": 0.42778,
"c": 0.17965,
"h": 311.1
},
"luminance": 0.06629
}Semantic roles & 50–950 ramp
primary
#6E2295
secondary
#79BD56
accent
#E6427A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80