#4B2194#4B2194
#4B2194 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.173 H 292.9°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2194 |
|---|---|
| RGB | rgb(75, 33, 148) |
| HSL | hsl(262, 64%, 35%) |
| HSV | hsv(262, 78%, 58%) |
| CMYK | cmyk(49.3%, 77.7%, 0%, 42%) |
| CIE-LAB | lab(25.93, 45.39, -55.59) |
| CIE-LCH | lch(25.93, 71.77, 309.23°) |
| OKLab | oklab(38.19% 0.0674 -0.1595) |
| OKLCH | oklch(38.19% 0.173 292.9) |
| XYZ | xyz(8.7893, 4.7214, 28.4594) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.89
Indigo
#4B0082
ΔE00 5.18
Indigo (survey)
#380282
ΔE00 5.81
Rebeccapurple
#663399
ΔE00 6.17
Royal
#0C1793
ΔE00 6.93
Ultramarine
#2000B1
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2194 #6A9421
analogous
#213094 #4B2194 #842194
triadic
#4B2194 #944B21 #21944B
tetradic
#4B2194 #942130 #6A9421 #219484
square
#4B2194 #942130 #6A9421 #219484
split-complementary
#4B2194 #948421 #309421
monochromatic
#180B30 #321662 #4B2194 #642CC6 #8656D9
Accessibility & contrast
On white
10.80
#4B2194 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#4B2194 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2194
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2194 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2194 | 1.00 | 10.80 | 1.94 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#344159
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4b2194; /* rgb */ color: rgb(75, 33, 148); /* oklch */ color: oklch(38.2% 0.173 292.9);
Tailwind
colors: {
custom: {
50: '#8561b4',
500: '#4b2194',
950: '#000000',
},
}SCSS
$custom: #4b2194; $custom-light: #8561b4; $custom-dark: #000000;
JSON
{
"hex": "#4b2194",
"rgb": {
"r": 75,
"g": 33,
"b": 148
},
"hsl": {
"h": 261.913,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.38192,
"c": 0.17317,
"h": 292.9
},
"luminance": 0.04722
}Semantic roles & 50–950 ramp
primary
#4B2194
secondary
#97BD54
accent
#E741AA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980