#4B2096#4B2096
#4B2096 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.176 H 292.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2096 |
|---|---|
| RGB | rgb(75, 32, 150) |
| HSL | hsl(262, 65%, 36%) |
| HSV | hsv(262, 79%, 59%) |
| CMYK | cmyk(50%, 78.7%, 0%, 41.2%) |
| CIE-LAB | lab(25.95, 46.40, -56.78) |
| CIE-LCH | lch(25.95, 73.33, 309.26°) |
| OKLab | oklab(38.27% 0.0676 -0.163) |
| OKLCH | oklch(38.27% 0.176 292.5) |
| XYZ | xyz(8.9216, 4.7306, 29.2913) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.57
Indigo
#4B0082
ΔE00 5.20
Indigo (survey)
#380282
ΔE00 5.79
Rebeccapurple
#663399
ΔE00 6.30
Ultramarine
#2000B1
ΔE00 6.75
Royal
#0C1793
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2096 #6B9620
analogous
#203096 #4B2096 #862096
triadic
#4B2096 #964B20 #20964B
tetradic
#4B2096 #962030 #6B9620 #209686
square
#4B2096 #962030 #6B9620 #209686
split-complementary
#4B2096 #968620 #309620
monochromatic
#190A31 #321564 #4B2096 #642BC8 #8656DB
Accessibility & contrast
On white
10.79
#4B2096 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4B2096 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2096
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2096 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2096 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#33415A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4b2096; /* rgb */ color: rgb(75, 32, 150); /* oklch */ color: oklch(38.3% 0.176 292.5);
Tailwind
colors: {
custom: {
50: '#8661b6',
500: '#4b2096',
950: '#000000',
},
}SCSS
$custom: #4b2096; $custom-light: #8661b6; $custom-dark: #000000;
JSON
{
"hex": "#4b2096",
"rgb": {
"r": 75,
"g": 32,
"b": 150
},
"hsl": {
"h": 261.864,
"s": 64.835,
"l": 35.686
},
"oklch": {
"l": 0.38269,
"c": 0.17646,
"h": 292.5
},
"luminance": 0.04731
}Semantic roles & 50–950 ramp
primary
#4B2096
secondary
#97BE53
accent
#E840AB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980