#6C4FD2#6C4FD2
#6C4FD2 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.192 H 288.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4FD2 |
|---|---|
| RGB | rgb(108, 79, 210) |
| HSL | hsl(253, 59%, 57%) |
| HSV | hsv(253, 62%, 82%) |
| CMYK | cmyk(48.6%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(43.41, 44.32, -63.76) |
| CIE-LCH | lch(43.41, 77.65, 304.80°) |
| OKLab | oklab(53.1% 0.0602 -0.1825) |
| OKLCH | oklch(53.1% 0.192 288.2) |
| XYZ | xyz(20.6098, 13.4324, 62.4670) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.14
Slate Blue
#6A5ACD
ΔE00 3.26
Iris
#6258C4
ΔE00 3.85
Bluey Purple
#6241C7
ΔE00 4.29
Bluish Purple
#703BE7
ΔE00 4.85
Purpleish Blue
#6140EF
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4FD2 #B5D24F
analogous
#4F74D2 #6C4FD2 #AD4FD2
triadic
#6C4FD2 #D26C4F #4FD26C
tetradic
#6C4FD2 #D24F74 #B5D24F #4FD2AD
square
#6C4FD2 #D24F74 #B5D24F #4FD2AD
split-complementary
#6C4FD2 #D2AD4F #74D24F
monochromatic
#382285 #4C2EB5 #6C4FD2 #9580DE #BDB0EB
Accessibility & contrast
On white
5.70
#6C4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#6C4FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4FD2
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4FD2 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#496E89
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6c4fd2; /* rgb */ color: rgb(108, 79, 210); /* oklch */ color: oklch(53.1% 0.192 288.2);
Tailwind
colors: {
custom: {
50: '#9e82e1',
500: '#6c4fd2',
950: '#000000',
},
}SCSS
$custom: #6c4fd2; $custom-light: #9e82e1; $custom-dark: #000000;
JSON
{
"hex": "#6c4fd2",
"rgb": {
"r": 108,
"g": 79,
"b": 210
},
"hsl": {
"h": 253.282,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.53095,
"c": 0.1922,
"h": 288.2
},
"luminance": 0.13433
}Semantic roles & 50–950 ramp
primary
#6C4FD2
secondary
#CDD9A4
accent
#E245C0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83