#6C4CD5#6C4CD5
#6C4CD5 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.200 H 288.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4CD5 |
|---|---|
| RGB | rgb(108, 76, 213) |
| HSL | hsl(254, 62%, 57%) |
| HSV | hsv(254, 64%, 84%) |
| CMYK | cmyk(49.3%, 64.3%, 0%, 16.5%) |
| CIE-LAB | lab(43.00, 46.86, -66.14) |
| CIE-LCH | lch(43.00, 81.06, 305.32°) |
| OKLab | oklab(52.87% 0.0629 -0.1895) |
| OKLCH | oklch(52.87% 0.2 288.4) |
| XYZ | xyz(20.7755, 13.1602, 64.3834) |
| Luminance | 0.1316 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.85
Light Indigo
#6D5ACF
ΔE00 3.94
Bluish Purple
#703BE7
ΔE00 4.02
Slate Blue
#6A5ACD
ΔE00 4.08
Purpleish Blue
#6140EF
ΔE00 4.12
Iris
#6258C4
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4CD5 #B5D54C
analogous
#4C71D5 #6C4CD5 #B14CD5
triadic
#6C4CD5 #D56C4C #4CD56C
tetradic
#6C4CD5 #D54C71 #B5D54C #4CD5B1
square
#6C4CD5 #D54C71 #B5D54C #4CD5B1
split-complementary
#6C4CD5 #D5B14C #71D54C
monochromatic
#382087 #4C2BB9 #6C4CD5 #957EE1 #BDAFEC
Accessibility & contrast
On white
5.78
#6C4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#6C4CD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4CD5
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4CD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4CD5 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#476D8A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6c4cd5; /* rgb */ color: rgb(108, 76, 213); /* oklch */ color: oklch(52.9% 0.200 288.4);
Tailwind
colors: {
custom: {
50: '#9e80e3',
500: '#6c4cd5',
950: '#000000',
},
}SCSS
$custom: #6c4cd5; $custom-light: #9e80e3; $custom-dark: #000000;
JSON
{
"hex": "#6c4cd5",
"rgb": {
"r": 108,
"g": 76,
"b": 213
},
"hsl": {
"h": 254.015,
"s": 61.991,
"l": 56.667
},
"oklch": {
"l": 0.52872,
"c": 0.19971,
"h": 288.4
},
"luminance": 0.13161
}Semantic roles & 50–950 ramp
primary
#6C4CD5
secondary
#CDDAA2
accent
#E543BF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84