#4C2C95#4C2C95
#4C2C95 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.162 H 291.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2C95 |
|---|---|
| RGB | rgb(76, 44, 149) |
| HSL | hsl(258, 54%, 38%) |
| HSV | hsv(258, 70%, 58%) |
| CMYK | cmyk(49%, 70.5%, 0%, 41.6%) |
| CIE-LAB | lab(28.13, 40.21, -52.59) |
| CIE-LCH | lch(28.13, 66.20, 307.40°) |
| OKLab | oklab(39.81% 0.0586 -0.1507) |
| OKLCH | oklch(39.81% 0.162 291.2) |
| XYZ | xyz(9.3045, 5.5074, 29.0007) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.08
Darkslateblue
#483D8B
ΔE00 5.60
Indigo Blue
#3A18B1
ΔE00 5.91
Blueberry
#464196
ΔE00 6.40
Ocean Blue
#4F42B5
ΔE00 7.33
Indigo
#4B0082
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2C95 #75952C
analogous
#2C4095 #4C2C95 #802C95
triadic
#4C2C95 #954C2C #2C954C
tetradic
#4C2C95 #952C40 #75952C #2C9580
square
#4C2C95 #952C40 #75952C #2C9580
split-complementary
#4C2C95 #95802C #40952C
monochromatic
#1C1037 #341E66 #4C2C95 #643AC4 #8969D3
Accessibility & contrast
On white
9.99
#4C2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#4C2C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2C95
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2C95 | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#35475D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4c2c95; /* rgb */ color: rgb(76, 44, 149); /* oklch */ color: oklch(39.8% 0.162 291.2);
Tailwind
colors: {
custom: {
50: '#8568b5',
500: '#4c2c95',
950: '#000000',
},
}SCSS
$custom: #4c2c95; $custom-light: #8568b5; $custom-dark: #000000;
JSON
{
"hex": "#4c2c95",
"rgb": {
"r": 76,
"g": 44,
"b": 149
},
"hsl": {
"h": 258.286,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.39809,
"c": 0.16174,
"h": 291.2
},
"luminance": 0.05508
}Semantic roles & 50–950 ramp
primary
#4C2C95
secondary
#9FB964
accent
#DE4AB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80