#6B2099#6B2099
#6B2099 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.185 H 308.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2099 |
|---|---|
| RGB | rgb(107, 32, 153) |
| HSL | hsl(277, 65%, 36%) |
| HSV | hsv(277, 79%, 60%) |
| CMYK | cmyk(30.1%, 79.1%, 0%, 40%) |
| CIE-LAB | lab(30.54, 52.49, -50.94) |
| CIE-LCH | lch(30.54, 73.14, 315.86°) |
| OKLab | oklab(42.5% 0.1148 -0.1447) |
| OKLCH | oklch(42.5% 0.185 308.4) |
| XYZ | xyz(12.3285, 6.4589, 30.7281) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.57
Rebeccapurple
#663399
ΔE00 3.63
Purple
#800080
ΔE00 7.30
Darkmagenta
#8B008B
ΔE00 7.47
Indigo
#4B0082
ΔE00 7.50
Darkish Purple
#751973
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2099 #4E9920
analogous
#2F2099 #6B2099 #99208B
triadic
#6B2099 #996B20 #20996B
tetradic
#6B2099 #992F20 #4E9920 #208B99
square
#6B2099 #992F20 #4E9920 #208B99
split-complementary
#6B2099 #8B9920 #20992F
monochromatic
#240B34 #481566 #6B2099 #8E2BCC #AA57DC
Accessibility & contrast
On white
9.16
#6B2099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#6B2099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2099
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2099 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#643E5C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6b2099; /* rgb */ color: rgb(107, 32, 153); /* oklch */ color: oklch(42.5% 0.185 308.4);
Tailwind
colors: {
custom: {
50: '#9a65b8',
500: '#6b2099',
950: '#000000',
},
}SCSS
$custom: #6b2099; $custom-light: #9a65b8; $custom-dark: #000000;
JSON
{
"hex": "#6b2099",
"rgb": {
"r": 107,
"g": 32,
"b": 153
},
"hsl": {
"h": 277.19,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.42497,
"c": 0.18473,
"h": 308.4
},
"luminance": 0.06459
}Semantic roles & 50–950 ramp
primary
#6B2099
secondary
#7EC055
accent
#E83F80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80