#6B2399#6B2399
#6B2399 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.182 H 308.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2399 |
|---|---|
| RGB | rgb(107, 35, 153) |
| HSL | hsl(277, 63%, 37%) |
| HSV | hsv(277, 77%, 60%) |
| CMYK | cmyk(30.1%, 77.1%, 0%, 40%) |
| CIE-LAB | lab(30.94, 51.33, -50.29) |
| CIE-LCH | lch(30.94, 71.86, 315.59°) |
| OKLab | oklab(42.78% 0.1121 -0.1428) |
| OKLCH | oklch(42.78% 0.182 308.1) |
| XYZ | xyz(12.4130, 6.6280, 30.7562) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.19
Purple (survey)
#7E1E9C
ΔE00 3.54
Purple
#800080
ΔE00 7.44
Darkmagenta
#8B008B
ΔE00 7.55
Indigo
#4B0082
ΔE00 7.80
Darkish Purple
#751973
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2399 #519923
analogous
#302399 #6B2399 #99238C
triadic
#6B2399 #996B23 #23996B
tetradic
#6B2399 #993023 #519923 #238C99
square
#6B2399 #993023 #519923 #238C99
split-complementary
#6B2399 #8C9923 #239930
monochromatic
#250C35 #481867 #6B2399 #8E2ECB #A95DDA
Accessibility & contrast
On white
9.03
#6B2399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6B2399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2399
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2399 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#64405D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6b2399; /* rgb */ color: rgb(107, 35, 153); /* oklch */ color: oklch(42.8% 0.182 308.1);
Tailwind
colors: {
custom: {
50: '#9a66b8',
500: '#6b2399',
950: '#000000',
},
}SCSS
$custom: #6b2399; $custom-light: #9a66b8; $custom-dark: #000000;
JSON
{
"hex": "#6b2399",
"rgb": {
"r": 107,
"g": 35,
"b": 153
},
"hsl": {
"h": 276.61,
"s": 62.766,
"l": 36.863
},
"oklch": {
"l": 0.42779,
"c": 0.18158,
"h": 308.1
},
"luminance": 0.06628
}Semantic roles & 50–950 ramp
primary
#6B2399
secondary
#81BE59
accent
#E64282
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80