#4C2EB7#4C2EB7
#4C2EB7 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.2% C 0.200 H 284.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2EB7 |
|---|---|
| RGB | rgb(76, 46, 183) |
| HSL | hsl(253, 60%, 45%) |
| HSV | hsv(253, 75%, 72%) |
| CMYK | cmyk(58.5%, 74.9%, 0%, 28.2%) |
| CIE-LAB | lab(31.60, 49.12, -67.42) |
| CIE-LCH | lch(31.60, 83.42, 306.08°) |
| OKLab | oklab(43.21% 0.0494 -0.1942) |
| OKLCH | oklch(43.21% 0.2 284.3) |
| XYZ | xyz(12.5021, 6.9086, 45.4653) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 4.01
Blurple
#5539CC
ΔE00 4.10
Purple Blue
#5D21D0
ΔE00 4.24
Indigo Blue
#3A18B1
ΔE00 4.64
Violet Blue
#510AC9
ΔE00 4.75
Ocean Blue
#4F42B5
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2EB7 #99B72E
analogous
#2E54B7 #4C2EB7 #912EB7
triadic
#4C2EB7 #B74C2E #2EB74C
tetradic
#4C2EB7 #B72E54 #99B72E #2EB791
square
#4C2EB7 #B72E54 #99B72E #2EB791
split-complementary
#4C2EB7 #B7912E #54B72E
monochromatic
#231555 #382286 #4C2EB7 #6C4FD3 #9580DF
Accessibility & contrast
On white
8.82
#4C2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#4C2EB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2EB7
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2EB7 | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#0D5470
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #4c2eb7; /* rgb */ color: rgb(76, 46, 183); /* oklch */ color: oklch(43.2% 0.200 284.3);
Tailwind
colors: {
custom: {
50: '#8a6ace',
500: '#4c2eb7',
950: '#000000',
},
}SCSS
$custom: #4c2eb7; $custom-light: #8a6ace; $custom-dark: #000000;
JSON
{
"hex": "#4c2eb7",
"rgb": {
"r": 76,
"g": 46,
"b": 183
},
"hsl": {
"h": 253.139,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.4321,
"c": 0.20043,
"h": 284.3
},
"luminance": 0.06909
}Semantic roles & 50–950 ramp
primary
#4C2EB7
secondary
#B7C879
accent
#E345C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82