#4B1FAE#4B1FAE
#4B1FAE is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.5% C 0.204 H 287.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4B1FAE |
|---|---|
| RGB | rgb(75, 31, 174) |
| HSL | hsl(258, 70%, 40%) |
| HSV | hsv(258, 82%, 68%) |
| CMYK | cmyk(56.9%, 82.2%, 0%, 31.8%) |
| CIE-LAB | lab(28.20, 53.37, -67.66) |
| CIE-LCH | lch(28.20, 86.18, 308.27°) |
| OKLab | oklab(40.55% 0.0604 -0.1948) |
| OKLCH | oklch(40.55% 0.204 287.2) |
| XYZ | xyz(11.0293, 5.5312, 40.5227) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.36
Violet Blue
#510AC9
ΔE00 3.72
Purple Blue
#5D21D0
ΔE00 5.26
Ultramarine
#2000B1
ΔE00 5.55
True Blue
#010FCC
ΔE00 5.72
Mediumblue
#0000CD
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B1FAE #82AE1F
analogous
#1F3AAE #4B1FAE #931FAE
triadic
#4B1FAE #AE4B1F #1FAE4B
tetradic
#4B1FAE #AE1F3A #82AE1F #1FAE93
square
#4B1FAE #AE1F3A #82AE1F #1FAE93
split-complementary
#4B1FAE #AE931F #3AAE1F
monochromatic
#1E0C46 #35167A #4B1FAE #6430DA #8B64E3
Accessibility & contrast
On white
9.97
#4B1FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4B1FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B1FAE
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B1FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B1FAE | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003FAB
Tritanopia (blue-blind)
#1C4B68
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4b1fae; /* rgb */ color: rgb(75, 31, 174); /* oklch */ color: oklch(40.5% 0.204 287.2);
Tailwind
colors: {
custom: {
50: '#8962c7',
500: '#4b1fae',
950: '#000000',
},
}SCSS
$custom: #4b1fae; $custom-light: #8962c7; $custom-dark: #000000;
JSON
{
"hex": "#4b1fae",
"rgb": {
"r": 75,
"g": 31,
"b": 174
},
"hsl": {
"h": 258.462,
"s": 69.756,
"l": 40.196
},
"oklch": {
"l": 0.40547,
"c": 0.20396,
"h": 287.2
},
"luminance": 0.05532
}Semantic roles & 50–950 ramp
primary
#4B1FAE
secondary
#A8C860
accent
#ED3BB6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82