#4B2F99#4B2F99
#4B2F99 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.163 H 289.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2F99 |
|---|---|
| RGB | rgb(75, 47, 153) |
| HSL | hsl(256, 53%, 39%) |
| HSV | hsv(256, 69%, 60%) |
| CMYK | cmyk(51%, 69.3%, 0%, 40%) |
| CIE-LAB | lab(28.98, 39.53, -53.67) |
| CIE-LCH | lch(28.98, 66.65, 306.37°) |
| OKLab | oklab(40.49% 0.0534 -0.154) |
| OKLCH | oklch(40.49% 0.163 289.1) |
| XYZ | xyz(9.6663, 5.8284, 30.7465) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.15
Rebeccapurple
#663399
ΔE00 5.23
Blueberry
#464196
ΔE00 5.64
Indigo Blue
#3A18B1
ΔE00 5.88
Ocean Blue
#4F42B5
ΔE00 6.37
Sapphire (survey)
#2138AB
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2F99 #7D992F
analogous
#2F4899 #4B2F99 #802F99
triadic
#4B2F99 #994B2F #2F994B
tetradic
#4B2F99 #992F48 #7D992F #2F9980
square
#4B2F99 #992F48 #7D992F #2F9980
split-complementary
#4B2F99 #99802F #48992F
monochromatic
#1D123B #34216A #4B2F99 #6441C5 #8A6FD3
Accessibility & contrast
On white
9.70
#4B2F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#4B2F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2F99
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2F99 | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#304A60
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4b2f99; /* rgb */ color: rgb(75, 47, 153); /* oklch */ color: oklch(40.5% 0.163 289.1);
Tailwind
colors: {
custom: {
50: '#856ab8',
500: '#4b2f99',
950: '#000000',
},
}SCSS
$custom: #4b2f99; $custom-light: #856ab8; $custom-dark: #000000;
JSON
{
"hex": "#4b2f99",
"rgb": {
"r": 75,
"g": 47,
"b": 153
},
"hsl": {
"h": 255.849,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.40491,
"c": 0.16298,
"h": 289.1
},
"luminance": 0.05829
}Semantic roles & 50–950 ramp
primary
#4B2F99
secondary
#A5BA69
accent
#DC4BB6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80