#4B2899#4B2899
#4B2899 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.171 H 290.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2899 |
|---|---|
| RGB | rgb(75, 40, 153) |
| HSL | hsl(259, 59%, 38%) |
| HSV | hsv(259, 74%, 60%) |
| CMYK | cmyk(51%, 73.9%, 0%, 40%) |
| CIE-LAB | lab(27.61, 43.33, -55.90) |
| CIE-LCH | lch(27.61, 70.73, 307.78°) |
| OKLab | oklab(39.52% 0.06 -0.1605) |
| OKLCH | oklch(39.52% 0.171 290.5) |
| XYZ | xyz(9.4086, 5.3130, 30.6606) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.83
Rebeccapurple
#663399
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 6.65
Indigo
#4B0082
ΔE00 6.82
Violet Blue
#510AC9
ΔE00 7.00
Blueberry
#464196
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2899 #769928
analogous
#283E99 #4B2899 #832899
triadic
#4B2899 #994B28 #28994B
tetradic
#4B2899 #99283E #769928 #289983
square
#4B2899 #99283E #769928 #289983
split-complementary
#4B2899 #998328 #3E9928
monochromatic
#1B0F38 #331B68 #4B2899 #6335CA #8865D7
Accessibility & contrast
On white
10.18
#4B2899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4B2899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2899
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2899 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#30465E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4b2899; /* rgb */ color: rgb(75, 40, 153); /* oklch */ color: oklch(39.5% 0.171 290.5);
Tailwind
colors: {
custom: {
50: '#8565b8',
500: '#4b2899',
950: '#000000',
},
}SCSS
$custom: #4b2899; $custom-light: #8565b8; $custom-dark: #000000;
JSON
{
"hex": "#4b2899",
"rgb": {
"r": 75,
"g": 40,
"b": 153
},
"hsl": {
"h": 258.584,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.39518,
"c": 0.17136,
"h": 290.5
},
"luminance": 0.05313
}Semantic roles & 50–950 ramp
primary
#4B2899
secondary
#A0BD60
accent
#E246B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80