#4B219B#4B219B
#4B219B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.181 H 291.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #4B219B |
|---|---|
| RGB | rgb(75, 33, 155) |
| HSL | hsl(261, 65%, 37%) |
| HSV | hsv(261, 79%, 61%) |
| CMYK | cmyk(51.6%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(26.59, 47.32, -58.80) |
| CIE-LCH | lch(26.59, 75.47, 308.83°) |
| OKLab | oklab(38.86% 0.0653 -0.1689) |
| OKLCH | oklch(38.86% 0.181 291.1) |
| XYZ | xyz(9.3602, 4.9497, 31.4662) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.97
Indigo
#4B0082
ΔE00 5.83
Violet Blue
#510AC9
ΔE00 6.25
Rebeccapurple
#663399
ΔE00 6.28
Indigo (survey)
#380282
ΔE00 6.29
Ultramarine
#2000B1
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B219B #719B21
analogous
#21349B #4B219B #88219B
triadic
#4B219B #9B4B21 #219B4B
tetradic
#4B219B #9B2134 #719B21 #219B88
square
#4B219B #9B2134 #719B21 #219B88
split-complementary
#4B219B #9B8821 #349B21
monochromatic
#1A0C36 #331669 #4B219B #632CCD #875ADC
Accessibility & contrast
On white
10.55
#4B219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#4B219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B219B
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B219B | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#2F445D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4b219b; /* rgb */ color: rgb(75, 33, 155); /* oklch */ color: oklch(38.9% 0.181 291.1);
Tailwind
colors: {
custom: {
50: '#8662ba',
500: '#4b219b',
950: '#000000',
},
}SCSS
$custom: #4b219b; $custom-light: #8662ba; $custom-dark: #000000;
JSON
{
"hex": "#4b219b",
"rgb": {
"r": 75,
"g": 33,
"b": 155
},
"hsl": {
"h": 260.656,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.3886,
"c": 0.18111,
"h": 291.1
},
"luminance": 0.0495
}Semantic roles & 50–950 ramp
primary
#4B219B
secondary
#9CC058
accent
#E840AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81