#6C4ABC#6C4ABC
#6C4ABC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.171 H 293.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4ABC |
|---|---|
| RGB | rgb(108, 74, 188) |
| HSL | hsl(258, 46%, 51%) |
| HSV | hsv(258, 61%, 74%) |
| CMYK | cmyk(42.6%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(40.76, 40.91, -55.29) |
| CIE-LCH | lch(40.76, 68.78, 306.50°) |
| OKLab | oklab(50.67% 0.067 -0.1577) |
| OKLCH | oklch(50.67% 0.171 293) |
| XYZ | xyz(17.7078, 11.7161, 48.8956) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.31
Iris
#6258C4
ΔE00 5.00
Royal Purple
#7851A9
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 5.37
Slate Blue
#6A5ACD
ΔE00 5.44
Light Indigo
#6D5ACF
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4ABC #9ABC4A
analogous
#4A61BC #6C4ABC #A54ABC
triadic
#6C4ABC #BC6C4A #4ABC6C
tetradic
#6C4ABC #BC4A61 #9ABC4A #4ABCA5
square
#6C4ABC #BC4A61 #9ABC4A #4ABCA5
split-complementary
#6C4ABC #BCA54A #61BC4A
monochromatic
#392666 #523693 #6C4ABC #9077CD #B5A3DD
Accessibility & contrast
On white
6.28
#6C4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#6C4ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4ABC
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4ABC | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#56647C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6c4abc; /* rgb */ color: rgb(108, 74, 188); /* oklch */ color: oklch(50.7% 0.171 293.0);
Tailwind
colors: {
custom: {
50: '#9c7ed1',
500: '#6c4abc',
950: '#000000',
},
}SCSS
$custom: #6c4abc; $custom-light: #9c7ed1; $custom-dark: #000000;
JSON
{
"hex": "#6c4abc",
"rgb": {
"r": 108,
"g": 74,
"b": 188
},
"hsl": {
"h": 257.895,
"s": 45.968,
"l": 51.373
},
"oklch": {
"l": 0.50668,
"c": 0.1713,
"h": 293
},
"luminance": 0.11717
}Semantic roles & 50–950 ramp
primary
#6C4ABC
secondary
#BBCA98
accent
#D652AE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82