#4C2B92#4C2B92
#4C2B92 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.159 H 292.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2B92 |
|---|---|
| RGB | rgb(76, 43, 146) |
| HSL | hsl(259, 54%, 37%) |
| HSV | hsv(259, 71%, 57%) |
| CMYK | cmyk(47.9%, 70.5%, 0%, 42.7%) |
| CIE-LAB | lab(27.68, 39.88, -51.48) |
| CIE-LCH | lch(27.68, 65.12, 307.76°) |
| OKLab | oklab(39.41% 0.0601 -0.1475) |
| OKLCH | oklch(39.41% 0.159 292.2) |
| XYZ | xyz(9.0312, 5.3393, 27.7433) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.11
Darkslateblue
#483D8B
ΔE00 5.69
Indigo Blue
#3A18B1
ΔE00 6.15
Blueberry
#464196
ΔE00 6.66
Indigo
#4B0082
ΔE00 6.98
Indigo (survey)
#380282
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2B92 #71922B
analogous
#2B3E92 #4C2B92 #7F2B92
triadic
#4C2B92 #924C2B #2B924C
tetradic
#4C2B92 #922B3E #71922B #2B927F
square
#4C2B92 #922B3E #71922B #2B927F
split-complementary
#4C2B92 #927F2B #3E922B
monochromatic
#1B0F33 #331D63 #4C2B92 #6539C1 #8866D2
Accessibility & contrast
On white
10.15
#4C2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4C2B92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2B92
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2B92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2B92 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#36455B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4c2b92; /* rgb */ color: rgb(76, 43, 146); /* oklch */ color: oklch(39.4% 0.159 292.2);
Tailwind
colors: {
custom: {
50: '#8567b3',
500: '#4c2b92',
950: '#000000',
},
}SCSS
$custom: #4c2b92; $custom-light: #8567b3; $custom-dark: #000000;
JSON
{
"hex": "#4c2b92",
"rgb": {
"r": 76,
"g": 43,
"b": 146
},
"hsl": {
"h": 259.223,
"s": 54.497,
"l": 37.059
},
"oklch": {
"l": 0.39405,
"c": 0.15929,
"h": 292.2
},
"luminance": 0.0534
}Semantic roles & 50–950 ramp
primary
#4C2B92
secondary
#9CB861
accent
#DE4AAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80