#4C2AB6#4C2AB6
#4C2AB6 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.6% C 0.203 H 285.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2AB6 |
|---|---|
| RGB | rgb(76, 42, 182) |
| HSL | hsl(255, 63%, 44%) |
| HSV | hsv(255, 77%, 71%) |
| CMYK | cmyk(58.2%, 76.9%, 0%, 28.6%) |
| CIE-LAB | lab(30.81, 50.81, -68.13) |
| CIE-LCH | lch(30.81, 84.99, 306.72°) |
| OKLab | oklab(42.62% 0.0525 -0.1963) |
| OKLCH | oklch(42.62% 0.203 285) |
| XYZ | xyz(12.2494, 6.5691, 44.8694) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.93
Violet Blue
#510AC9
ΔE00 4.13
Purple Blue
#5D21D0
ΔE00 4.13
Blurple
#5539CC
ΔE00 4.76
Blue With A Hint Of Purple
#533CC6
ΔE00 4.77
Ocean Blue
#4F42B5
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2AB6 #94B62A
analogous
#2A4EB6 #4C2AB6 #922AB6
triadic
#4C2AB6 #B64C2A #2AB64C
tetradic
#4C2AB6 #B62A4E #94B62A #2AB692
square
#4C2AB6 #B62A4E #94B62A #2AB692
split-complementary
#4C2AB6 #B6922A #4EB62A
monochromatic
#221353 #371F84 #4C2AB6 #6A48D5 #937AE0
Accessibility & contrast
On white
9.08
#4C2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#4C2AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2AB6
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2AB6 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#10526F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4c2ab6; /* rgb */ color: rgb(76, 42, 182); /* oklch */ color: oklch(42.6% 0.203 285.0);
Tailwind
colors: {
custom: {
50: '#8a68cd',
500: '#4c2ab6',
950: '#000000',
},
}SCSS
$custom: #4c2ab6; $custom-light: #8a68cd; $custom-dark: #000000;
JSON
{
"hex": "#4c2ab6",
"rgb": {
"r": 76,
"g": 42,
"b": 182
},
"hsl": {
"h": 254.571,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.42624,
"c": 0.20318,
"h": 285
},
"luminance": 0.0657
}Semantic roles & 50–950 ramp
primary
#4C2AB6
secondary
#B4C873
accent
#E642BE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82