#4C2EBA#4C2EBA
#4C2EBA is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.5% C 0.204 H 283.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2EBA |
|---|---|
| RGB | rgb(76, 46, 186) |
| HSL | hsl(253, 60%, 45%) |
| HSV | hsv(253, 75%, 73%) |
| CMYK | cmyk(59.1%, 75.3%, 0%, 27.1%) |
| CIE-LAB | lab(31.89, 50.00, -68.72) |
| CIE-LCH | lch(31.89, 84.99, 306.04°) |
| OKLab | oklab(43.5% 0.0487 -0.198) |
| OKLCH | oklch(43.5% 0.204 283.8) |
| XYZ | xyz(12.8177, 7.0348, 47.1273) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 3.78
Blurple
#5539CC
ΔE00 3.80
Purple Blue
#5D21D0
ΔE00 3.95
Violet Blue
#510AC9
ΔE00 4.61
Indigo Blue
#3A18B1
ΔE00 4.77
Ocean Blue
#4F42B5
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2EBA #9CBA2E
analogous
#2E56BA #4C2EBA #922EBA
triadic
#4C2EBA #BA4C2E #2EBA4C
tetradic
#4C2EBA #BA2E56 #9CBA2E #2EBA92
square
#4C2EBA #BA2E56 #9CBA2E #2EBA92
split-complementary
#4C2EBA #BA922E #56BA2E
monochromatic
#241658 #382289 #4C2EBA #6D51D4 #9682E0
Accessibility & contrast
On white
8.72
#4C2EBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#4C2EBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2EBA
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2EBA | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#035672
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4c2eba; /* rgb */ color: rgb(76, 46, 186); /* oklch */ color: oklch(43.5% 0.204 283.8);
Tailwind
colors: {
custom: {
50: '#8b6ad0',
500: '#4c2eba',
950: '#000000',
},
}SCSS
$custom: #4c2eba; $custom-light: #8b6ad0; $custom-dark: #000000;
JSON
{
"hex": "#4c2eba",
"rgb": {
"r": 76,
"g": 46,
"b": 186
},
"hsl": {
"h": 252.857,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.435,
"c": 0.20394,
"h": 283.8
},
"luminance": 0.07036
}Semantic roles & 50–950 ramp
primary
#4C2EBA
secondary
#B8C97B
accent
#E344C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82