#6B4DB9#6B4DB9
#6B4DB9 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.163 H 292.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4DB9 |
|---|---|
| RGB | rgb(107, 77, 185) |
| HSL | hsl(257, 44%, 51%) |
| HSV | hsv(257, 58%, 73%) |
| CMYK | cmyk(42.2%, 58.4%, 0%, 27.5%) |
| CIE-LAB | lab(41.11, 38.12, -52.97) |
| CIE-LCH | lch(41.11, 65.26, 305.74°) |
| OKLab | oklab(50.84% 0.0623 -0.1509) |
| OKLCH | oklch(50.84% 0.163 292.4) |
| XYZ | xyz(17.4719, 11.9358, 47.2728) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.08
Iris
#6258C4
ΔE00 4.41
Royal Purple
#7851A9
ΔE00 4.62
Slate Blue
#6A5ACD
ΔE00 5.00
Light Indigo
#6D5ACF
ΔE00 5.10
Ocean Blue
#4F42B5
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4DB9 #9BB94D
analogous
#4D65B9 #6B4DB9 #A14DB9
triadic
#6B4DB9 #B96B4D #4DB96B
tetradic
#6B4DB9 #B94D65 #9BB94D #4DB9A1
square
#6B4DB9 #B94D65 #9BB94D #4DB9A1
split-complementary
#6B4DB9 #B9A14D #65B94D
monochromatic
#382764 #513990 #6B4DB9 #9079CA #B4A5DC
Accessibility & contrast
On white
6.20
#6B4DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#6B4DB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4DB9
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4DB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4DB9 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0462BD
Deuteranopia (green-blind)
#155FB7
Tritanopia (blue-blind)
#56657B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6b4db9; /* rgb */ color: rgb(107, 77, 185); /* oklch */ color: oklch(50.8% 0.163 292.4);
Tailwind
colors: {
custom: {
50: '#9a80cf',
500: '#6b4db9',
950: '#000000',
},
}SCSS
$custom: #6b4db9; $custom-light: #9a80cf; $custom-dark: #000000;
JSON
{
"hex": "#6b4db9",
"rgb": {
"r": 107,
"g": 77,
"b": 185
},
"hsl": {
"h": 256.667,
"s": 43.548,
"l": 51.373
},
"oklch": {
"l": 0.50838,
"c": 0.16319,
"h": 292.4
},
"luminance": 0.11936
}Semantic roles & 50–950 ramp
primary
#6B4DB9
secondary
#BBC999
accent
#D355B0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82