#4B2292#4B2292
#4B2292 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.170 H 293.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2292 |
|---|---|
| RGB | rgb(75, 34, 146) |
| HSL | hsl(262, 62%, 35%) |
| HSV | hsv(262, 77%, 57%) |
| CMYK | cmyk(48.6%, 76.7%, 0%, 42.7%) |
| CIE-LAB | lab(25.91, 44.36, -54.39) |
| CIE-LCH | lch(25.91, 70.18, 309.20°) |
| OKLab | oklab(38.12% 0.0671 -0.156) |
| OKLCH | oklch(38.12% 0.17 293.3) |
| XYZ | xyz(8.6605, 4.7150, 27.6423) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.20
Indigo Blue
#3A18B1
ΔE00 5.23
Indigo (survey)
#380282
ΔE00 5.86
Rebeccapurple
#663399
ΔE00 6.06
Royal
#0C1793
ΔE00 7.04
Ultramarine
#2000B1
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2292 #699222
analogous
#223192 #4B2292 #832292
triadic
#4B2292 #924B22 #22924B
tetradic
#4B2292 #922231 #699222 #229283
square
#4B2292 #922231 #699222 #229283
split-complementary
#4B2292 #928322 #319222
monochromatic
#180B2F #311660 #4B2292 #642EC4 #8657D8
Accessibility & contrast
On white
10.81
#4B2292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#4B2292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2292
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2292 | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#354059
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4b2292; /* rgb */ color: rgb(75, 34, 146); /* oklch */ color: oklch(38.1% 0.170 293.3);
Tailwind
colors: {
custom: {
50: '#8562b3',
500: '#4b2292',
950: '#000000',
},
}SCSS
$custom: #4b2292; $custom-light: #8562b3; $custom-dark: #000000;
JSON
{
"hex": "#4b2292",
"rgb": {
"r": 75,
"g": 34,
"b": 146
},
"hsl": {
"h": 261.964,
"s": 62.222,
"l": 35.294
},
"oklch": {
"l": 0.38122,
"c": 0.16982,
"h": 293.3
},
"luminance": 0.04715
}Semantic roles & 50–950 ramp
primary
#4B2292
secondary
#96BC54
accent
#E543AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80