#6B2199#6B2199
#6B2199 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.184 H 308.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2199 |
|---|---|
| RGB | rgb(107, 33, 153) |
| HSL | hsl(277, 65%, 36%) |
| HSV | hsv(277, 78%, 60%) |
| CMYK | cmyk(30.1%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(30.67, 52.11, -50.73) |
| CIE-LCH | lch(30.67, 72.73, 315.77°) |
| OKLab | oklab(42.59% 0.1139 -0.1441) |
| OKLCH | oklch(42.59% 0.184 308.3) |
| XYZ | xyz(12.3558, 6.5136, 30.7372) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.49
Purple (survey)
#7E1E9C
ΔE00 3.56
Purple
#800080
ΔE00 7.34
Darkmagenta
#8B008B
ΔE00 7.50
Indigo
#4B0082
ΔE00 7.59
Darkish Purple
#751973
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2199 #4F9921
analogous
#2F2199 #6B2199 #99218B
triadic
#6B2199 #996B21 #21996B
tetradic
#6B2199 #992F21 #4F9921 #218B99
square
#6B2199 #992F21 #4F9921 #218B99
split-complementary
#6B2199 #8B9921 #21992F
monochromatic
#250B34 #481667 #6B2199 #8E2CCB #A959DB
Accessibility & contrast
On white
9.12
#6B2199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#6B2199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2199
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2199 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#643F5C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6b2199; /* rgb */ color: rgb(107, 33, 153); /* oklch */ color: oklch(42.6% 0.184 308.3);
Tailwind
colors: {
custom: {
50: '#9a65b8',
500: '#6b2199',
950: '#000000',
},
}SCSS
$custom: #6b2199; $custom-light: #9a65b8; $custom-dark: #000000;
JSON
{
"hex": "#6b2199",
"rgb": {
"r": 107,
"g": 33,
"b": 153
},
"hsl": {
"h": 277,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.42589,
"c": 0.1837,
"h": 308.3
},
"luminance": 0.06513
}Semantic roles & 50–950 ramp
primary
#6B2199
secondary
#7FBF56
accent
#E84080
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80