#6C4DA2#6C4DA2
#6C4DA2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.4% C 0.133 H 298.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4DA2 |
|---|---|
| RGB | rgb(108, 77, 162) |
| HSL | hsl(262, 36%, 47%) |
| HSV | hsv(262, 52%, 64%) |
| CMYK | cmyk(33.3%, 52.5%, 0%, 36.5%) |
| CIE-LAB | lab(39.76, 32.01, -41.53) |
| CIE-LCH | lch(39.76, 52.44, 307.62°) |
| OKLab | oklab(49.39% 0.0629 -0.1172) |
| OKLCH | oklch(49.39% 0.133 298.2) |
| XYZ | xyz(15.3582, 11.1044, 35.5096) |
| Luminance | 0.1110 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.73
Rebeccapurple
#663399
ΔE00 6.97
Iris
#6258C4
ΔE00 7.38
Bluey Purple
#6241C7
ΔE00 7.40
Ocean Blue
#4F42B5
ΔE00 7.46
Blueberry
#464196
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4DA2 #83A24D
analogous
#4D59A2 #6C4DA2 #974DA2
triadic
#6C4DA2 #A26C4D #4DA26C
tetradic
#6C4DA2 #A24D59 #83A24D #4DA297
square
#6C4DA2 #A24D59 #83A24D #4DA297
split-complementary
#6C4DA2 #A2974D #59A24D
monochromatic
#35264F #503979 #6C4DA2 #8C71BB #AE9ACF
Accessibility & contrast
On white
6.52
#6C4DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#6C4DA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4DA2
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4DA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4DA2 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5EA5
Deuteranopia (green-blind)
#365DA0
Tritanopia (blue-blind)
#605D70
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #6c4da2; /* rgb */ color: rgb(108, 77, 162); /* oklch */ color: oklch(49.4% 0.133 298.2);
Tailwind
colors: {
custom: {
50: '#997fbe',
500: '#6c4da2',
950: '#000000',
},
}SCSS
$custom: #6c4da2; $custom-light: #997fbe; $custom-dark: #000000;
JSON
{
"hex": "#6c4da2",
"rgb": {
"r": 108,
"g": 77,
"b": 162
},
"hsl": {
"h": 261.882,
"s": 35.565,
"l": 46.863
},
"oklch": {
"l": 0.4939,
"c": 0.13306,
"h": 298.2
},
"luminance": 0.11105
}Semantic roles & 50–950 ramp
primary
#6C4DA2
secondary
#ABBC8F
accent
#CC5CA3
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81