#6B4BBE#6B4BBE
#6B4BBE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.172 H 291.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4BBE |
|---|---|
| RGB | rgb(107, 75, 190) |
| HSL | hsl(257, 47%, 52%) |
| HSV | hsv(257, 61%, 75%) |
| CMYK | cmyk(43.7%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(41.02, 40.68, -56.05) |
| CIE-LCH | lch(41.02, 69.26, 305.97°) |
| OKLab | oklab(50.88% 0.0644 -0.1599) |
| OKLCH | oklch(50.88% 0.172 291.9) |
| XYZ | xyz(17.8712, 11.8751, 50.0557) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.25
Iris
#6258C4
ΔE00 4.57
Slate Blue
#6A5ACD
ΔE00 5.01
Light Indigo
#6D5ACF
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.32
Royal Purple
#7851A9
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4BBE #9EBE4B
analogous
#4B64BE #6B4BBE #A54BBE
triadic
#6B4BBE #BE6B4B #4BBE6B
tetradic
#6B4BBE #BE4B64 #9EBE4B #4BBEA5
square
#6B4BBE #BE4B64 #9EBE4B #4BBEA5
split-complementary
#6B4BBE #BEA54B #64BE4B
monochromatic
#382669 #513696 #6B4BBE #9078CE #B5A5DE
Accessibility & contrast
On white
6.22
#6B4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#6B4BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4BBE
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4BBE | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#53657D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6b4bbe; /* rgb */ color: rgb(107, 75, 190); /* oklch */ color: oklch(50.9% 0.172 291.9);
Tailwind
colors: {
custom: {
50: '#9b7fd2',
500: '#6b4bbe',
950: '#000000',
},
}SCSS
$custom: #6b4bbe; $custom-light: #9b7fd2; $custom-dark: #000000;
JSON
{
"hex": "#6b4bbe",
"rgb": {
"r": 107,
"g": 75,
"b": 190
},
"hsl": {
"h": 256.696,
"s": 46.939,
"l": 51.961
},
"oklch": {
"l": 0.50876,
"c": 0.17241,
"h": 291.9
},
"luminance": 0.11876
}Semantic roles & 50–950 ramp
primary
#6B4BBE
secondary
#BECC99
accent
#D751B1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83