#6B4BB2#6B4BB2
#6B4BB2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.157 H 294.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4BB2 |
|---|---|
| RGB | rgb(107, 75, 178) |
| HSL | hsl(259, 41%, 50%) |
| HSV | hsv(259, 58%, 70%) |
| CMYK | cmyk(39.9%, 57.9%, 0%, 30.2%) |
| CIE-LAB | lab(40.20, 37.32, -50.33) |
| CIE-LCH | lch(40.20, 62.65, 306.56°) |
| OKLab | oklab(50.02% 0.0647 -0.1431) |
| OKLCH | oklch(50.02% 0.157 294.3) |
| XYZ | xyz(16.6132, 11.3719, 43.4305) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.01
Bluey Purple
#6241C7
ΔE00 4.51
Iris
#6258C4
ΔE00 5.46
Ocean Blue
#4F42B5
ΔE00 5.53
Slate Blue
#6A5ACD
ΔE00 6.18
Light Indigo
#6D5ACF
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4BB2 #92B24B
analogous
#4B5FB2 #6B4BB2 #9F4BB2
triadic
#6B4BB2 #B26B4B #4BB26B
tetradic
#6B4BB2 #B24B5F #92B24B #4BB29F
square
#6B4BB2 #B24B5F #92B24B #4BB29F
split-complementary
#6B4BB2 #B29F4B #5FB24B
monochromatic
#37275C #513987 #6B4BB2 #8E75C5 #B1A0D7
Accessibility & contrast
On white
6.41
#6B4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#6B4BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4BB2
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4BB2 | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1060B5
Deuteranopia (green-blind)
#1E5DB0
Tritanopia (blue-blind)
#596177
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #6b4bb2; /* rgb */ color: rgb(107, 75, 178); /* oklch */ color: oklch(50.0% 0.157 294.3);
Tailwind
colors: {
custom: {
50: '#9a7eca',
500: '#6b4bb2',
950: '#000000',
},
}SCSS
$custom: #6b4bb2; $custom-light: #9a7eca; $custom-dark: #000000;
JSON
{
"hex": "#6b4bb2",
"rgb": {
"r": 107,
"g": 75,
"b": 178
},
"hsl": {
"h": 258.641,
"s": 40.711,
"l": 49.608
},
"oklch": {
"l": 0.50017,
"c": 0.15704,
"h": 294.3
},
"luminance": 0.11372
}Semantic roles & 50–950 ramp
primary
#6B4BB2
secondary
#B5C495
accent
#D157AB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82