#4B2294#4B2294
#4B2294 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.172 H 292.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2294 |
|---|---|
| RGB | rgb(75, 34, 148) |
| HSL | hsl(262, 63%, 36%) |
| HSV | hsv(262, 77%, 58%) |
| CMYK | cmyk(49.3%, 77%, 0%, 42%) |
| CIE-LAB | lab(26.09, 44.92, -55.32) |
| CIE-LCH | lch(26.09, 71.26, 309.08°) |
| OKLab | oklab(38.31% 0.0665 -0.1587) |
| OKLCH | oklch(38.31% 0.172 292.7) |
| XYZ | xyz(8.8175, 4.7777, 28.4688) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.94
Indigo
#4B0082
ΔE00 5.35
Indigo (survey)
#380282
ΔE00 5.96
Rebeccapurple
#663399
ΔE00 6.07
Royal
#0C1793
ΔE00 6.98
Ultramarine
#2000B1
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2294 #6B9422
analogous
#223294 #4B2294 #842294
triadic
#4B2294 #944B22 #22944B
tetradic
#4B2294 #942232 #6B9422 #229484
square
#4B2294 #942232 #6B9422 #229484
split-complementary
#4B2294 #948422 #329422
monochromatic
#190B30 #321762 #4B2294 #642DC6 #8658D9
Accessibility & contrast
On white
10.74
#4B2294 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#4B2294 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2294
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2294 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2294 | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#34415A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4b2294; /* rgb */ color: rgb(75, 34, 148); /* oklch */ color: oklch(38.3% 0.172 292.7);
Tailwind
colors: {
custom: {
50: '#8562b4',
500: '#4b2294',
950: '#000000',
},
}SCSS
$custom: #4b2294; $custom-light: #8562b4; $custom-dark: #000000;
JSON
{
"hex": "#4b2294",
"rgb": {
"r": 75,
"g": 34,
"b": 148
},
"hsl": {
"h": 261.579,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.38309,
"c": 0.17212,
"h": 292.7
},
"luminance": 0.04778
}Semantic roles & 50–950 ramp
primary
#4B2294
secondary
#97BD55
accent
#E642AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80