#6E229E#6E229E
#6E229E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.188 H 308.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #6E229E |
|---|---|
| RGB | rgb(110, 34, 158) |
| HSL | hsl(277, 65%, 38%) |
| HSV | hsv(277, 78%, 62%) |
| CMYK | cmyk(30.4%, 78.5%, 0%, 38%) |
| CIE-LAB | lab(31.64, 53.40, -52.18) |
| CIE-LCH | lch(31.64, 74.66, 315.66°) |
| OKLab | oklab(43.48% 0.1161 -0.1483) |
| OKLCH | oklch(43.48% 0.188 308.1) |
| XYZ | xyz(13.1727, 6.9279, 32.9844) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.20
Rebeccapurple
#663399
ΔE00 3.44
Darkmagenta
#8B008B
ΔE00 7.51
Purple
#800080
ΔE00 7.64
Purple Blue
#5D21D0
ΔE00 7.86
Violet Blue
#510AC9
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E229E #529E22
analogous
#30229E #6E229E #9E2290
triadic
#6E229E #9E6E22 #229E6E
tetradic
#6E229E #9E3022 #529E22 #22909E
square
#6E229E #9E3022 #529E22 #22909E
split-complementary
#6E229E #909E22 #229E30
monochromatic
#280C39 #4B176C #6E229E #912DD0 #AB5EDC
Accessibility & contrast
On white
8.80
#6E229E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#6E229E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E229E
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E229E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E229E | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#664160
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6e229e; /* rgb */ color: rgb(110, 34, 158); /* oklch */ color: oklch(43.5% 0.188 308.1);
Tailwind
colors: {
custom: {
50: '#9d66bb',
500: '#6e229e',
950: '#000000',
},
}SCSS
$custom: #6e229e; $custom-light: #9d66bb; $custom-dark: #000000;
JSON
{
"hex": "#6e229e",
"rgb": {
"r": 110,
"g": 34,
"b": 158
},
"hsl": {
"h": 276.774,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.43484,
"c": 0.18834,
"h": 308.1
},
"luminance": 0.06928
}Semantic roles & 50–950 ramp
primary
#6E229E
secondary
#82C15B
accent
#E84081
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81