#6D229E#6D229E
#6D229E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.188 H 307.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #6D229E |
|---|---|
| RGB | rgb(109, 34, 158) |
| HSL | hsl(276, 65%, 38%) |
| HSV | hsv(276, 78%, 62%) |
| CMYK | cmyk(31%, 78.5%, 0%, 38%) |
| CIE-LAB | lab(31.50, 53.22, -52.42) |
| CIE-LCH | lch(31.50, 74.70, 315.43°) |
| OKLab | oklab(43.35% 0.1147 -0.149) |
| OKLCH | oklch(43.35% 0.188 307.6) |
| XYZ | xyz(13.0489, 6.8641, 32.9786) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.39
Rebeccapurple
#663399
ΔE00 3.40
Darkmagenta
#8B008B
ΔE00 7.67
Purple
#800080
ΔE00 7.76
Purple Blue
#5D21D0
ΔE00 7.78
Violet Blue
#510AC9
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D229E #539E22
analogous
#2F229E #6D229E #9E2291
triadic
#6D229E #9E6D22 #229E6D
tetradic
#6D229E #9E2F22 #539E22 #22919E
square
#6D229E #9E2F22 #539E22 #22919E
split-complementary
#6D229E #919E22 #229E2F
monochromatic
#280C39 #4A176C #6D229E #902DD0 #AA5EDC
Accessibility & contrast
On white
8.85
#6D229E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#6D229E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D229E
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D229E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D229E | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#65415F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6d229e; /* rgb */ color: rgb(109, 34, 158); /* oklch */ color: oklch(43.4% 0.188 307.6);
Tailwind
colors: {
custom: {
50: '#9c66bb',
500: '#6d229e',
950: '#000000',
},
}SCSS
$custom: #6d229e; $custom-light: #9c66bb; $custom-dark: #000000;
JSON
{
"hex": "#6d229e",
"rgb": {
"r": 109,
"g": 34,
"b": 158
},
"hsl": {
"h": 276.29,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.43351,
"c": 0.18808,
"h": 307.6
},
"luminance": 0.06864
}Semantic roles & 50–950 ramp
primary
#6D229E
secondary
#83C15B
accent
#E84082
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81