#6C4EAA#6C4EAA
#6C4EAA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.142 H 295.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4EAA |
|---|---|
| RGB | rgb(108, 78, 170) |
| HSL | hsl(260, 37%, 49%) |
| HSV | hsv(260, 54%, 67%) |
| CMYK | cmyk(36.5%, 54.1%, 0%, 33.3%) |
| CIE-LAB | lab(40.47, 33.59, -45.15) |
| CIE-LCH | lch(40.47, 56.27, 306.65°) |
| OKLab | oklab(50.08% 0.0621 -0.1278) |
| OKLCH | oklch(50.08% 0.142 295.9) |
| XYZ | xyz(16.1626, 11.5389, 39.3981) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.84
Iris
#6258C4
ΔE00 6.02
Bluey Purple
#6241C7
ΔE00 6.24
Ocean Blue
#4F42B5
ΔE00 6.67
Slate Blue
#6A5ACD
ΔE00 6.81
Light Indigo
#6D5ACF
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4EAA #8CAA4E
analogous
#4E5EAA #6C4EAA #9A4EAA
triadic
#6C4EAA #AA6C4E #4EAA6C
tetradic
#6C4EAA #AA4E5E #8CAA4E #4EAA9A
square
#6C4EAA #AA4E5E #8CAA4E #4EAA9A
split-complementary
#6C4EAA #AA9A4E #5EAA4E
monochromatic
#372856 #513B80 #6C4EAA #8E75C0 #B09FD3
Accessibility & contrast
On white
6.35
#6C4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#6C4EAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4EAA
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4EAA | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#305EA8
Tritanopia (blue-blind)
#5D6174
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #6c4eaa; /* rgb */ color: rgb(108, 78, 170); /* oklch */ color: oklch(50.1% 0.142 295.9);
Tailwind
colors: {
custom: {
50: '#9a80c4',
500: '#6c4eaa',
950: '#000000',
},
}SCSS
$custom: #6c4eaa; $custom-light: #9a80c4; $custom-dark: #000000;
JSON
{
"hex": "#6c4eaa",
"rgb": {
"r": 108,
"g": 78,
"b": 170
},
"hsl": {
"h": 259.565,
"s": 37.097,
"l": 48.627
},
"oklch": {
"l": 0.50079,
"c": 0.14211,
"h": 295.9
},
"luminance": 0.11539
}Semantic roles & 50–950 ramp
primary
#6C4EAA
secondary
#B2C094
accent
#CD5BA8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82