#6B4CD5#6B4CD5
#6B4CD5 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.200 H 287.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4CD5 |
|---|---|
| RGB | rgb(107, 76, 213) |
| HSL | hsl(254, 62%, 57%) |
| HSV | hsv(254, 64%, 84%) |
| CMYK | cmyk(49.8%, 64.3%, 0%, 16.5%) |
| CIE-LAB | lab(42.91, 46.68, -66.29) |
| CIE-LCH | lch(42.91, 81.08, 305.15°) |
| OKLab | oklab(52.78% 0.0616 -0.19) |
| OKLCH | oklch(52.78% 0.2 287.9) |
| XYZ | xyz(20.6546, 13.0978, 64.3777) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.79
Light Indigo
#6D5ACF
ΔE00 3.95
Bluish Purple
#703BE7
ΔE00 4.04
Slate Blue
#6A5ACD
ΔE00 4.06
Purpleish Blue
#6140EF
ΔE00 4.07
Iris
#6258C4
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4CD5 #B6D54C
analogous
#4C72D5 #6B4CD5 #B04CD5
triadic
#6B4CD5 #D56B4C #4CD56B
tetradic
#6B4CD5 #D54C72 #B6D54C #4CD5B0
square
#6B4CD5 #D54C72 #B6D54C #4CD5B0
split-complementary
#6B4CD5 #D5B04C #72D54C
monochromatic
#372087 #4B2BB9 #6B4CD5 #947EE1 #BDAFEC
Accessibility & contrast
On white
5.80
#6B4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#6B4CD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4CD5
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4CD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4CD5 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#456D8A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6b4cd5; /* rgb */ color: rgb(107, 76, 213); /* oklch */ color: oklch(52.8% 0.200 287.9);
Tailwind
colors: {
custom: {
50: '#9e80e3',
500: '#6b4cd5',
950: '#000000',
},
}SCSS
$custom: #6b4cd5; $custom-light: #9e80e3; $custom-dark: #000000;
JSON
{
"hex": "#6b4cd5",
"rgb": {
"r": 107,
"g": 76,
"b": 213
},
"hsl": {
"h": 253.577,
"s": 61.991,
"l": 56.667
},
"oklch": {
"l": 0.52782,
"c": 0.19975,
"h": 287.9
},
"luminance": 0.13099
}Semantic roles & 50–950 ramp
primary
#6B4CD5
secondary
#CEDAA2
accent
#E543C0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84