#4B2F95#4B2F95
#4B2F95 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.158 H 290.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2F95 |
|---|---|
| RGB | rgb(75, 47, 149) |
| HSL | hsl(256, 52%, 38%) |
| HSV | hsv(256, 68%, 58%) |
| CMYK | cmyk(49.7%, 68.5%, 0%, 41.6%) |
| CIE-LAB | lab(28.64, 38.34, -51.77) |
| CIE-LCH | lch(28.64, 64.42, 306.52°) |
| OKLab | oklab(40.14% 0.0541 -0.1484) |
| OKLCH | oklch(40.14% 0.158 290) |
| XYZ | xyz(9.3414, 5.6984, 29.0356) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.86
Rebeccapurple
#663399
ΔE00 5.16
Blueberry
#464196
ΔE00 5.61
Indigo Blue
#3A18B1
ΔE00 6.32
Ocean Blue
#4F42B5
ΔE00 6.80
Sapphire (survey)
#2138AB
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2F95 #79952F
analogous
#2F4695 #4B2F95 #7E2F95
triadic
#4B2F95 #954B2F #2F954B
tetradic
#4B2F95 #952F46 #79952F #2F957E
square
#4B2F95 #952F46 #79952F #2F957E
split-complementary
#4B2F95 #957E2F #46952F
monochromatic
#1C1238 #342066 #4B2F95 #633FC2 #896DD1
Accessibility & contrast
On white
9.81
#4B2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4B2F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2F95
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2F95 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#32485E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4b2f95; /* rgb */ color: rgb(75, 47, 149); /* oklch */ color: oklch(40.1% 0.158 290.0);
Tailwind
colors: {
custom: {
50: '#8469b5',
500: '#4b2f95',
950: '#000000',
},
}SCSS
$custom: #4b2f95; $custom-light: #8469b5; $custom-dark: #000000;
JSON
{
"hex": "#4b2f95",
"rgb": {
"r": 75,
"g": 47,
"b": 149
},
"hsl": {
"h": 256.471,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.40145,
"c": 0.15793,
"h": 290
},
"luminance": 0.05699
}Semantic roles & 50–950 ramp
primary
#4B2F95
secondary
#A2B867
accent
#DB4CB4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80