#4B1F92#4B1F92
#4B1F92 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.173 H 293.7°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4B1F92 |
|---|---|
| RGB | rgb(75, 31, 146) |
| HSL | hsl(263, 65%, 35%) |
| HSV | hsv(263, 79%, 57%) |
| CMYK | cmyk(48.6%, 78.8%, 0%, 42.7%) |
| CIE-LAB | lab(25.41, 45.77, -55.19) |
| CIE-LCH | lch(25.41, 71.70, 309.67°) |
| OKLab | oklab(37.78% 0.0696 -0.1583) |
| OKLCH | oklch(37.78% 0.173 293.7) |
| XYZ | xyz(8.5785, 4.5509, 27.6150) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.69
Indigo Blue
#3A18B1
ΔE00 5.09
Indigo (survey)
#380282
ΔE00 5.41
Rebeccapurple
#663399
ΔE00 6.39
Royal
#0C1793
ΔE00 6.91
Ultramarine
#2000B1
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B1F92 #66921F
analogous
#1F2C92 #4B1F92 #851F92
triadic
#4B1F92 #924B1F #1F924B
tetradic
#4B1F92 #921F2C #66921F #1F9285
square
#4B1F92 #921F2C #66921F #1F9285
split-complementary
#4B1F92 #92851F #2C921F
monochromatic
#170A2D #311460 #4B1F92 #652AC4 #8651DA
Accessibility & contrast
On white
10.99
#4B1F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#4B1F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B1F92
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B1F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B1F92 | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#353F58
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4b1f92; /* rgb */ color: rgb(75, 31, 146); /* oklch */ color: oklch(37.8% 0.173 293.7);
Tailwind
colors: {
custom: {
50: '#8560b3',
500: '#4b1f92',
950: '#000000',
},
}SCSS
$custom: #4b1f92; $custom-light: #8560b3; $custom-dark: #000000;
JSON
{
"hex": "#4b1f92",
"rgb": {
"r": 75,
"g": 31,
"b": 146
},
"hsl": {
"h": 262.957,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.37778,
"c": 0.17297,
"h": 293.7
},
"luminance": 0.04551
}Semantic roles & 50–950 ramp
primary
#4B1F92
secondary
#93BD50
accent
#E840A8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980