#6C4DD2#6C4DD2
#6C4DD2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.195 H 288.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4DD2 |
|---|---|
| RGB | rgb(108, 77, 210) |
| HSL | hsl(254, 60%, 56%) |
| HSV | hsv(254, 63%, 82%) |
| CMYK | cmyk(48.6%, 63.3%, 0%, 17.6%) |
| CIE-LAB | lab(42.99, 45.45, -64.44) |
| CIE-LCH | lch(42.99, 78.86, 305.19°) |
| OKLab | oklab(52.79% 0.0622 -0.1846) |
| OKLCH | oklch(52.79% 0.195 288.6) |
| XYZ | xyz(20.4677, 13.1482, 62.4197) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.67
Slate Blue
#6A5ACD
ΔE00 3.78
Bluey Purple
#6241C7
ΔE00 3.84
Iris
#6258C4
ΔE00 4.24
Bluish Purple
#703BE7
ΔE00 4.42
Purpleish Blue
#6140EF
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4DD2 #B3D24D
analogous
#4D71D2 #6C4DD2 #AF4DD2
triadic
#6C4DD2 #D26C4D #4DD26C
tetradic
#6C4DD2 #D24D71 #B3D24D #4DD2AF
square
#6C4DD2 #D24D71 #B3D24D #4DD2AF
split-complementary
#6C4DD2 #D2AF4D #71D24D
monochromatic
#382183 #4D2EB4 #6C4DD2 #947EDE #BDAFEB
Accessibility & contrast
On white
5.79
#6C4DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#6C4DD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4DD2
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4DD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4DD2 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#496D88
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6c4dd2; /* rgb */ color: rgb(108, 77, 210); /* oklch */ color: oklch(52.8% 0.195 288.6);
Tailwind
colors: {
custom: {
50: '#9e80e1',
500: '#6c4dd2',
950: '#000000',
},
}SCSS
$custom: #6c4dd2; $custom-light: #9e80e1; $custom-dark: #000000;
JSON
{
"hex": "#6c4dd2",
"rgb": {
"r": 108,
"g": 77,
"b": 210
},
"hsl": {
"h": 253.985,
"s": 59.641,
"l": 56.275
},
"oklch": {
"l": 0.52789,
"c": 0.19476,
"h": 288.6
},
"luminance": 0.13149
}Semantic roles & 50–950 ramp
primary
#6C4DD2
secondary
#CCD9A2
accent
#E345BE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83