#4B2296#4B2296
#4B2296 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.174 H 292.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2296 |
|---|---|
| RGB | rgb(75, 34, 150) |
| HSL | hsl(261, 63%, 36%) |
| HSV | hsv(261, 77%, 59%) |
| CMYK | cmyk(50%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(26.28, 45.47, -56.24) |
| CIE-LCH | lch(26.28, 72.32, 308.95°) |
| OKLab | oklab(38.5% 0.066 -0.1614) |
| OKLCH | oklch(38.5% 0.174 292.2) |
| XYZ | xyz(8.9772, 4.8416, 29.3098) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.67
Indigo
#4B0082
ΔE00 5.51
Indigo (survey)
#380282
ΔE00 6.08
Rebeccapurple
#663399
ΔE00 6.09
Royal
#0C1793
ΔE00 6.94
Ultramarine
#2000B1
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2296 #6D9622
analogous
#223396 #4B2296 #852296
triadic
#4B2296 #964B22 #22964B
tetradic
#4B2296 #962233 #6D9622 #229685
square
#4B2296 #962233 #6D9622 #229685
split-complementary
#4B2296 #968522 #339622
monochromatic
#190B32 #321764 #4B2296 #642DC8 #8659D9
Accessibility & contrast
On white
10.67
#4B2296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#4B2296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2296
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2296 | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#33425B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4b2296; /* rgb */ color: rgb(75, 34, 150); /* oklch */ color: oklch(38.5% 0.174 292.2);
Tailwind
colors: {
custom: {
50: '#8562b6',
500: '#4b2296',
950: '#000000',
},
}SCSS
$custom: #4b2296; $custom-light: #8562b6; $custom-dark: #000000;
JSON
{
"hex": "#4b2296",
"rgb": {
"r": 75,
"g": 34,
"b": 150
},
"hsl": {
"h": 261.207,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.38497,
"c": 0.17441,
"h": 292.2
},
"luminance": 0.04842
}Semantic roles & 50–950 ramp
primary
#4B2296
secondary
#99BE56
accent
#E642AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80