#4B218E#4B218E
#4B218E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.166 H 294.5°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4B218E |
|---|---|
| RGB | rgb(75, 33, 142) |
| HSL | hsl(263, 62%, 34%) |
| HSV | hsv(263, 77%, 56%) |
| CMYK | cmyk(47.2%, 76.8%, 0%, 44.3%) |
| CIE-LAB | lab(25.37, 43.74, -52.79) |
| CIE-LCH | lch(25.37, 68.56, 309.65°) |
| OKLab | oklab(37.63% 0.069 -0.1513) |
| OKLCH | oklch(37.63% 0.166 294.5) |
| XYZ | xyz(8.3267, 4.5363, 26.0228) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.75
Indigo (survey)
#380282
ΔE00 5.55
Indigo Blue
#3A18B1
ΔE00 5.76
Rebeccapurple
#663399
ΔE00 6.20
Royal Purple (survey)
#4B006E
ΔE00 7.07
Royal
#0C1793
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B218E #648E21
analogous
#212E8E #4B218E #82218E
triadic
#4B218E #8E4B21 #218E4B
tetradic
#4B218E #8E212E #648E21 #218E82
square
#4B218E #8E212E #648E21 #218E82
split-complementary
#4B218E #8E8221 #2E8E21
monochromatic
#170A2B #31155C #4B218E #652DC0 #8652D7
Accessibility & contrast
On white
11.01
#4B218E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#4B218E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B218E
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B218E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B218E | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#373E56
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4b218e; /* rgb */ color: rgb(75, 33, 142); /* oklch */ color: oklch(37.6% 0.166 294.5);
Tailwind
colors: {
custom: {
50: '#8461b0',
500: '#4b218e',
950: '#000000',
},
}SCSS
$custom: #4b218e; $custom-light: #8461b0; $custom-dark: #000000;
JSON
{
"hex": "#4b218e",
"rgb": {
"r": 75,
"g": 33,
"b": 142
},
"hsl": {
"h": 263.119,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.37633,
"c": 0.16631,
"h": 294.5
},
"luminance": 0.04537
}Semantic roles & 50–950 ramp
primary
#4B218E
secondary
#92BA50
accent
#E542A7
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0511
muted
#7D7980