#4C2FBD#4C2FBD
#4C2FBD is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.9% C 0.206 H 283.2°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2FBD |
|---|---|
| RGB | rgb(76, 47, 189) |
| HSL | hsl(252, 60%, 46%) |
| HSV | hsv(252, 75%, 74%) |
| CMYK | cmyk(59.8%, 75.1%, 0%, 25.9%) |
| CIE-LAB | lab(32.35, 50.38, -69.73) |
| CIE-LCH | lch(32.35, 86.02, 305.85°) |
| OKLab | oklab(43.92% 0.0472 -0.201) |
| OKLCH | oklch(43.92% 0.206 283.2) |
| XYZ | xyz(13.1795, 7.2428, 48.8377) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 3.37
Blue With A Hint Of Purple
#533CC6
ΔE00 3.39
Purple Blue
#5D21D0
ΔE00 3.77
Violet Blue
#510AC9
ΔE00 4.70
Ocean Blue
#4F42B5
ΔE00 4.75
Indigo Blue
#3A18B1
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2FBD #A0BD2F
analogous
#2F59BD #4C2FBD #932FBD
triadic
#4C2FBD #BD4C2F #2FBD4C
tetradic
#4C2FBD #BD2F59 #A0BD2F #2FBD93
square
#4C2FBD #BD2F59 #A0BD2F #2FBD93
split-complementary
#4C2FBD #BD932F #59BD2F
monochromatic
#25175B #38238C #4C2FBD #6F55D5 #9886E1
Accessibility & contrast
On white
8.58
#4C2FBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#4C2FBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2FBD
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2FBD | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #4c2fbd; /* rgb */ color: rgb(76, 47, 189); /* oklch */ color: oklch(43.9% 0.206 283.2);
Tailwind
colors: {
custom: {
50: '#8b6bd2',
500: '#4c2fbd',
950: '#000000',
},
}SCSS
$custom: #4c2fbd; $custom-light: #8b6bd2; $custom-dark: #000000;
JSON
{
"hex": "#4c2fbd",
"rgb": {
"r": 76,
"g": 47,
"b": 189
},
"hsl": {
"h": 252.254,
"s": 60.169,
"l": 46.275
},
"oklch": {
"l": 0.43916,
"c": 0.20646,
"h": 283.2
},
"luminance": 0.07244
}Semantic roles & 50–950 ramp
primary
#4C2FBD
secondary
#BBCA7E
accent
#E344C3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83