#6B2291#6B2291
#6B2291 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.175 H 311.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2291 |
|---|---|
| RGB | rgb(107, 34, 145) |
| HSL | hsl(279, 62%, 35%) |
| HSV | hsv(279, 77%, 57%) |
| CMYK | cmyk(26.2%, 76.6%, 0%, 43.1%) |
| CIE-LAB | lab(30.19, 49.94, -46.60) |
| CIE-LCH | lch(30.19, 68.30, 316.98°) |
| OKLab | oklab(42.06% 0.1147 -0.132) |
| OKLCH | oklch(42.06% 0.175 311) |
| XYZ | xyz(11.7453, 6.3145, 27.3827) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.54
Rebeccapurple
#663399
ΔE00 3.75
Purple
#800080
ΔE00 6.39
Darkmagenta
#8B008B
ΔE00 6.83
Darkish Purple
#751973
ΔE00 7.02
Indigo
#4B0082
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2291 #489122
analogous
#332291 #6B2291 #912280
triadic
#6B2291 #916B22 #22916B
tetradic
#6B2291 #913322 #489122 #228091
square
#6B2291 #913322 #489122 #228091
split-complementary
#6B2291 #809122 #229133
monochromatic
#220B2E #46165F #6B2291 #902EC3 #AB56D7
Accessibility & contrast
On white
9.28
#6B2291 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#6B2291 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2291
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2291 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2291 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#0B488F
Tritanopia (blue-blind)
#663C58
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6b2291; /* rgb */ color: rgb(107, 34, 145); /* oklch */ color: oklch(42.1% 0.175 311.0);
Tailwind
colors: {
custom: {
50: '#9a65b2',
500: '#6b2291',
950: '#000000',
},
}SCSS
$custom: #6b2291; $custom-light: #9a65b2; $custom-dark: #000000;
JSON
{
"hex": "#6b2291",
"rgb": {
"r": 107,
"g": 34,
"b": 145
},
"hsl": {
"h": 279.459,
"s": 62.011,
"l": 35.098
},
"oklch": {
"l": 0.42056,
"c": 0.17482,
"h": 311
},
"luminance": 0.06314
}Semantic roles & 50–950 ramp
primary
#6B2291
secondary
#77BB53
accent
#E5437A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80