#4B2193#4B2193
#4B2193 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.172 H 293.2°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2193 |
|---|---|
| RGB | rgb(75, 33, 147) |
| HSL | hsl(262, 63%, 35%) |
| HSV | hsv(262, 78%, 58%) |
| CMYK | cmyk(49%, 77.6%, 0%, 42.4%) |
| CIE-LAB | lab(25.83, 45.11, -55.13) |
| CIE-LCH | lch(25.83, 71.23, 309.30°) |
| OKLab | oklab(38.1% 0.0677 -0.1582) |
| OKLCH | oklch(38.1% 0.172 293.2) |
| XYZ | xyz(8.7105, 4.6899, 28.0444) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.03
Indigo
#4B0082
ΔE00 5.10
Indigo (survey)
#380282
ΔE00 5.75
Rebeccapurple
#663399
ΔE00 6.17
Royal
#0C1793
ΔE00 6.96
Ultramarine
#2000B1
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2193 #699321
analogous
#213093 #4B2193 #842193
triadic
#4B2193 #934B21 #21934B
tetradic
#4B2193 #932130 #699321 #219384
square
#4B2193 #932130 #699321 #219384
split-complementary
#4B2193 #938421 #309321
monochromatic
#180B2F #311661 #4B2193 #642CC5 #8655D9
Accessibility & contrast
On white
10.84
#4B2193 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#4B2193 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2193
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2193 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2193 | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#354059
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4b2193; /* rgb */ color: rgb(75, 33, 147); /* oklch */ color: oklch(38.1% 0.172 293.2);
Tailwind
colors: {
custom: {
50: '#8561b4',
500: '#4b2193',
950: '#000000',
},
}SCSS
$custom: #4b2193; $custom-light: #8561b4; $custom-dark: #000000;
JSON
{
"hex": "#4b2193",
"rgb": {
"r": 75,
"g": 33,
"b": 147
},
"hsl": {
"h": 262.105,
"s": 63.333,
"l": 35.294
},
"oklch": {
"l": 0.38098,
"c": 0.17203,
"h": 293.2
},
"luminance": 0.0469
}Semantic roles & 50–950 ramp
primary
#4B2193
secondary
#96BD53
accent
#E641AA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980