#6B2294#6B2294
#6B2294 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.178 H 309.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2294 |
|---|---|
| RGB | rgb(107, 34, 148) |
| HSL | hsl(278, 63%, 36%) |
| HSV | hsv(278, 77%, 58%) |
| CMYK | cmyk(27.7%, 77%, 0%, 42%) |
| CIE-LAB | lab(30.42, 50.61, -48.08) |
| CIE-LCH | lch(30.42, 69.80, 316.47°) |
| OKLab | oklab(42.29% 0.1141 -0.1363) |
| OKLCH | oklch(42.29% 0.178 309.9) |
| XYZ | xyz(11.9797, 6.4082, 28.6171) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.48
Rebeccapurple
#663399
ΔE00 3.54
Purple
#800080
ΔE00 6.76
Darkmagenta
#8B008B
ΔE00 7.08
Darkish Purple
#751973
ΔE00 7.51
Indigo
#4B0082
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2294 #4B9422
analogous
#322294 #6B2294 #942284
triadic
#6B2294 #946B22 #22946B
tetradic
#6B2294 #943222 #4B9422 #228494
square
#6B2294 #943222 #4B9422 #228494
split-complementary
#6B2294 #849422 #229432
monochromatic
#230B30 #471762 #6B2294 #8F2DC6 #AA58D9
Accessibility & contrast
On white
9.20
#6B2294 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#6B2294 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2294
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2294 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2294 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#014992
Tritanopia (blue-blind)
#653D5A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6b2294; /* rgb */ color: rgb(107, 34, 148); /* oklch */ color: oklch(42.3% 0.178 309.9);
Tailwind
colors: {
custom: {
50: '#9a65b4',
500: '#6b2294',
950: '#000000',
},
}SCSS
$custom: #6b2294; $custom-light: #9a65b4; $custom-dark: #000000;
JSON
{
"hex": "#6b2294",
"rgb": {
"r": 107,
"g": 34,
"b": 148
},
"hsl": {
"h": 278.421,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.42289,
"c": 0.17775,
"h": 309.9
},
"luminance": 0.06408
}Semantic roles & 50–950 ramp
primary
#6B2294
secondary
#7ABD55
accent
#E6427D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80