#4C2CBD#4C2CBD
#4C2CBD is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.5% C 0.209 H 283.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2CBD |
|---|---|
| RGB | rgb(76, 44, 189) |
| HSL | hsl(253, 62%, 46%) |
| HSV | hsv(253, 77%, 74%) |
| CMYK | cmyk(59.8%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(31.83, 51.86, -70.59) |
| CIE-LCH | lch(31.83, 87.59, 306.31°) |
| OKLab | oklab(43.55% 0.0492 -0.2035) |
| OKLCH | oklch(43.55% 0.209 283.6) |
| XYZ | xyz(13.0636, 7.0111, 48.7991) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.53
Blurple
#5539CC
ΔE00 3.82
Blue With A Hint Of Purple
#533CC6
ΔE00 3.94
Violet Blue
#510AC9
ΔE00 4.14
Indigo Blue
#3A18B1
ΔE00 4.60
Ocean Blue
#4F42B5
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2CBD #9DBD2C
analogous
#2C55BD #4C2CBD #942CBD
triadic
#4C2CBD #BD4C2C #2CBD4C
tetradic
#4C2CBD #BD2C55 #9DBD2C #2CBD94
square
#4C2CBD #BD2C55 #9DBD2C #2CBD94
split-complementary
#4C2CBD #BD942C #55BD2C
monochromatic
#24155A #38208B #4C2CBD #6E50D6 #9782E2
Accessibility & contrast
On white
8.74
#4C2CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#4C2CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2CBD
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2CBD | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4c2cbd; /* rgb */ color: rgb(76, 44, 189); /* oklch */ color: oklch(43.5% 0.209 283.6);
Tailwind
colors: {
custom: {
50: '#8b69d2',
500: '#4c2cbd',
950: '#000000',
},
}SCSS
$custom: #4c2cbd; $custom-light: #8b69d2; $custom-dark: #000000;
JSON
{
"hex": "#4c2cbd",
"rgb": {
"r": 76,
"g": 44,
"b": 189
},
"hsl": {
"h": 253.241,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.4355,
"c": 0.20934,
"h": 283.6
},
"luminance": 0.07012
}Semantic roles & 50–950 ramp
primary
#4C2CBD
secondary
#B9CB7A
accent
#E542C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83