#4C2E95#4C2E95
#4C2E95 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.159 H 290.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2E95 |
|---|---|
| RGB | rgb(76, 46, 149) |
| HSL | hsl(257, 53%, 38%) |
| HSV | hsv(257, 69%, 58%) |
| CMYK | cmyk(49%, 69.1%, 0%, 41.6%) |
| CIE-LAB | lab(28.54, 39.09, -51.93) |
| CIE-LCH | lch(28.54, 65.00, 306.97°) |
| OKLab | oklab(40.1% 0.0566 -0.1488) |
| OKLCH | oklch(40.1% 0.159 290.8) |
| XYZ | xyz(9.3808, 5.6601, 29.0262) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.00
Darkslateblue
#483D8B
ΔE00 5.14
Blueberry
#464196
ΔE00 5.92
Indigo Blue
#3A18B1
ΔE00 6.21
Ocean Blue
#4F42B5
ΔE00 6.99
Sapphire (survey)
#2138AB
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2E95 #77952E
analogous
#2E4395 #4C2E95 #7F2E95
triadic
#4C2E95 #954C2E #2E954C
tetradic
#4C2E95 #952E43 #77952E #2E957F
square
#4C2E95 #952E43 #77952E #2E957F
split-complementary
#4C2E95 #957F2E #43952E
monochromatic
#1C1137 #342066 #4C2E95 #643DC3 #896CD2
Accessibility & contrast
On white
9.85
#4C2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4C2E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2E95
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2E95 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#34485D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4c2e95; /* rgb */ color: rgb(76, 46, 149); /* oklch */ color: oklch(40.1% 0.159 290.8);
Tailwind
colors: {
custom: {
50: '#8569b5',
500: '#4c2e95',
950: '#000000',
},
}SCSS
$custom: #4c2e95; $custom-light: #8569b5; $custom-dark: #000000;
JSON
{
"hex": "#4c2e95",
"rgb": {
"r": 76,
"g": 46,
"b": 149
},
"hsl": {
"h": 257.476,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.40098,
"c": 0.15921,
"h": 290.8
},
"luminance": 0.0566
}Semantic roles & 50–950 ramp
primary
#4C2E95
secondary
#A1B966
accent
#DC4CB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80