#4C2D7C#4C2D7C
#4C2D7C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.9% C 0.129 H 298.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2D7C |
|---|---|
| RGB | rgb(76, 45, 124) |
| HSL | hsl(264, 47%, 33%) |
| HSV | hsv(264, 64%, 49%) |
| CMYK | cmyk(38.7%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(26.36, 32.42, -39.91) |
| CIE-LCH | lch(26.36, 51.42, 309.09°) |
| OKLab | oklab(37.9% 0.0605 -0.1135) |
| OKLCH | oklch(37.9% 0.129 298.1) |
| XYZ | xyz(7.5561, 4.8684, 19.6065) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.57
Rebeccapurple
#663399
ΔE00 6.26
Blueberry
#464196
ΔE00 7.63
Indigo
#4B0082
ΔE00 7.68
Royal Purple (survey)
#4B006E
ΔE00 8.04
Indigo (survey)
#380282
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2D7C #5D7C2D
analogous
#2D357C #4C2D7C #732D7C
triadic
#4C2D7C #7C4C2D #2D7C4C
tetradic
#4C2D7C #7C2D35 #5D7C2D #2D7C73
square
#4C2D7C #7C2D35 #5D7C2D #2D7C73
split-complementary
#4C2D7C #7C732D #357C2D
monochromatic
#150C22 #301D4F #4C2D7C #683DA9 #875FC5
Accessibility & contrast
On white
10.64
#4C2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#4C2D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2D7C
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2D7C | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#0A3E7A
Tritanopia (blue-blind)
#413E50
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4c2d7c; /* rgb */ color: rgb(76, 45, 124); /* oklch */ color: oklch(37.9% 0.129 298.1);
Tailwind
colors: {
custom: {
50: '#8267a2',
500: '#4c2d7c',
950: '#000000',
},
}SCSS
$custom: #4c2d7c; $custom-light: #8267a2; $custom-dark: #000000;
JSON
{
"hex": "#4c2d7c",
"rgb": {
"r": 76,
"g": 45,
"b": 124
},
"hsl": {
"h": 263.544,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.37903,
"c": 0.12861,
"h": 298.1
},
"luminance": 0.04869
}Semantic roles & 50–950 ramp
primary
#4C2D7C
secondary
#8BAB5A
accent
#D651A2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F