#4C2EB9#4C2EB9
#4C2EB9 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.4% C 0.203 H 284.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2EB9 |
|---|---|
| RGB | rgb(76, 46, 185) |
| HSL | hsl(253, 60%, 45%) |
| HSV | hsv(253, 75%, 73%) |
| CMYK | cmyk(58.9%, 75.1%, 0%, 27.5%) |
| CIE-LAB | lab(31.79, 49.71, -68.29) |
| CIE-LCH | lch(31.79, 84.47, 306.05°) |
| OKLab | oklab(43.4% 0.0489 -0.1968) |
| OKLCH | oklch(43.4% 0.203 284) |
| XYZ | xyz(12.7118, 6.9925, 46.5694) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 3.85
Blurple
#5539CC
ΔE00 3.90
Purple Blue
#5D21D0
ΔE00 4.04
Violet Blue
#510AC9
ΔE00 4.66
Indigo Blue
#3A18B1
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2EB9 #9BB92E
analogous
#2E55B9 #4C2EB9 #922EB9
triadic
#4C2EB9 #B94C2E #2EB94C
tetradic
#4C2EB9 #B92E55 #9BB92E #2EB992
square
#4C2EB9 #B92E55 #9BB92E #2EB992
split-complementary
#4C2EB9 #B9922E #55B92E
monochromatic
#241657 #382288 #4C2EB9 #6D51D4 #9682E0
Accessibility & contrast
On white
8.76
#4C2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#4C2EB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2EB9
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2EB9 | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#065571
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4c2eb9; /* rgb */ color: rgb(76, 46, 185); /* oklch */ color: oklch(43.4% 0.203 284.0);
Tailwind
colors: {
custom: {
50: '#8b6acf',
500: '#4c2eb9',
950: '#000000',
},
}SCSS
$custom: #4c2eb9; $custom-light: #8b6acf; $custom-dark: #000000;
JSON
{
"hex": "#4c2eb9",
"rgb": {
"r": 76,
"g": 46,
"b": 185
},
"hsl": {
"h": 252.95,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.43403,
"c": 0.20277,
"h": 284
},
"luminance": 0.06993
}Semantic roles & 50–950 ramp
primary
#4C2EB9
secondary
#B8C97A
accent
#E344C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82