#4B2F93#4B2F93
#4B2F93 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.155 H 290.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2F93 |
|---|---|
| RGB | rgb(75, 47, 147) |
| HSL | hsl(257, 52%, 38%) |
| HSV | hsv(257, 68%, 58%) |
| CMYK | cmyk(49%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(28.47, 37.74, -50.81) |
| CIE-LCH | lch(28.47, 63.29, 306.60°) |
| OKLab | oklab(39.97% 0.0544 -0.1456) |
| OKLCH | oklch(39.97% 0.155 290.5) |
| XYZ | xyz(9.1831, 5.6351, 28.2019) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.73
Rebeccapurple
#663399
ΔE00 5.14
Blueberry
#464196
ΔE00 5.62
Indigo Blue
#3A18B1
ΔE00 6.56
Ocean Blue
#4F42B5
ΔE00 7.02
Sapphire (survey)
#2138AB
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2F93 #77932F
analogous
#2F4593 #4B2F93 #7D2F93
triadic
#4B2F93 #934B2F #2F934B
tetradic
#4B2F93 #932F45 #77932F #2F937D
square
#4B2F93 #932F45 #77932F #2F937D
split-complementary
#4B2F93 #937D2F #45932F
monochromatic
#1C1136 #332065 #4B2F93 #633EC1 #886CD0
Accessibility & contrast
On white
9.87
#4B2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4B2F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2F93
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2F93 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#34485D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4b2f93; /* rgb */ color: rgb(75, 47, 147); /* oklch */ color: oklch(40.0% 0.155 290.5);
Tailwind
colors: {
custom: {
50: '#8469b3',
500: '#4b2f93',
950: '#000000',
},
}SCSS
$custom: #4b2f93; $custom-light: #8469b3; $custom-dark: #000000;
JSON
{
"hex": "#4b2f93",
"rgb": {
"r": 75,
"g": 47,
"b": 147
},
"hsl": {
"h": 256.8,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.39974,
"c": 0.15539,
"h": 290.5
},
"luminance": 0.05635
}Semantic roles & 50–950 ramp
primary
#4B2F93
secondary
#A1B766
accent
#DB4DB3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80