#4B2293#4B2293
#4B2293 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.171 H 293.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2293 |
|---|---|
| RGB | rgb(75, 34, 147) |
| HSL | hsl(262, 62%, 35%) |
| HSV | hsv(262, 77%, 58%) |
| CMYK | cmyk(49%, 76.9%, 0%, 42.4%) |
| CIE-LAB | lab(26.00, 44.64, -54.85) |
| CIE-LCH | lch(26.00, 70.72, 309.14°) |
| OKLab | oklab(38.21% 0.0668 -0.1574) |
| OKLCH | oklch(38.21% 0.171 293) |
| XYZ | xyz(8.7387, 4.7462, 28.0538) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.08
Indigo
#4B0082
ΔE00 5.27
Indigo (survey)
#380282
ΔE00 5.91
Rebeccapurple
#663399
ΔE00 6.06
Royal
#0C1793
ΔE00 7.01
Ultramarine
#2000B1
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2293 #6A9322
analogous
#223193 #4B2293 #832293
triadic
#4B2293 #934B22 #22934B
tetradic
#4B2293 #932231 #6A9322 #229383
square
#4B2293 #932231 #6A9322 #229383
split-complementary
#4B2293 #938322 #319322
monochromatic
#180B30 #321761 #4B2293 #642DC5 #8657D8
Accessibility & contrast
On white
10.77
#4B2293 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4B2293 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2293
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2293 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2293 | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#344159
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4b2293; /* rgb */ color: rgb(75, 34, 147); /* oklch */ color: oklch(38.2% 0.171 293.0);
Tailwind
colors: {
custom: {
50: '#8562b4',
500: '#4b2293',
950: '#000000',
},
}SCSS
$custom: #4b2293; $custom-light: #8562b4; $custom-dark: #000000;
JSON
{
"hex": "#4b2293",
"rgb": {
"r": 75,
"g": 34,
"b": 147
},
"hsl": {
"h": 261.77,
"s": 62.431,
"l": 35.49
},
"oklch": {
"l": 0.38215,
"c": 0.17096,
"h": 293
},
"luminance": 0.04746
}Semantic roles & 50–950 ramp
primary
#4B2293
secondary
#97BC55
accent
#E542AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80