#4B2192#4B2192
#4B2192 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.171 H 293.4°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2192 |
|---|---|
| RGB | rgb(75, 33, 146) |
| HSL | hsl(262, 63%, 35%) |
| HSV | hsv(262, 77%, 57%) |
| CMYK | cmyk(48.6%, 77.4%, 0%, 42.7%) |
| CIE-LAB | lab(25.74, 44.84, -54.66) |
| CIE-LCH | lch(25.74, 70.70, 309.36°) |
| OKLab | oklab(38% 0.0679 -0.1568) |
| OKLCH | oklch(38% 0.171 293.4) |
| XYZ | xyz(8.6324, 4.6586, 27.6329) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.02
Indigo Blue
#3A18B1
ΔE00 5.17
Indigo (survey)
#380282
ΔE00 5.70
Rebeccapurple
#663399
ΔE00 6.17
Royal
#0C1793
ΔE00 6.99
Ultramarine
#2000B1
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2192 #689221
analogous
#213092 #4B2192 #832192
triadic
#4B2192 #924B21 #21924B
tetradic
#4B2192 #922130 #689221 #219283
square
#4B2192 #922130 #689221 #219283
split-complementary
#4B2192 #928321 #309221
monochromatic
#180A2E #311660 #4B2192 #652CC4 #8655D9
Accessibility & contrast
On white
10.87
#4B2192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#4B2192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2192
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2192 | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#354058
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4b2192; /* rgb */ color: rgb(75, 33, 146); /* oklch */ color: oklch(38.0% 0.171 293.4);
Tailwind
colors: {
custom: {
50: '#8561b3',
500: '#4b2192',
950: '#000000',
},
}SCSS
$custom: #4b2192; $custom-light: #8561b3; $custom-dark: #000000;
JSON
{
"hex": "#4b2192",
"rgb": {
"r": 75,
"g": 33,
"b": 146
},
"hsl": {
"h": 262.301,
"s": 63.128,
"l": 35.098
},
"oklch": {
"l": 0.38004,
"c": 0.17088,
"h": 293.4
},
"luminance": 0.04659
}Semantic roles & 50–950 ramp
primary
#4B2192
secondary
#95BC53
accent
#E642A9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980