#4B1F9C#4B1F9C
#4B1F9C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.184 H 291.2°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4B1F9C |
|---|---|
| RGB | rgb(75, 31, 156) |
| HSL | hsl(261, 67%, 37%) |
| HSV | hsv(261, 80%, 61%) |
| CMYK | cmyk(51.9%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(26.38, 48.49, -59.76) |
| CIE-LCH | lch(26.38, 76.95, 309.05°) |
| OKLab | oklab(38.74% 0.0665 -0.1717) |
| OKLCH | oklch(38.74% 0.184 291.2) |
| XYZ | xyz(9.3907, 4.8757, 31.8924) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.76
Indigo
#4B0082
ΔE00 5.66
Violet Blue
#510AC9
ΔE00 6.03
Indigo (survey)
#380282
ΔE00 6.12
Ultramarine
#2000B1
ΔE00 6.16
Rebeccapurple
#663399
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B1F9C #709C1F
analogous
#1F329C #4B1F9C #8A1F9C
triadic
#4B1F9C #9C4B1F #1F9C4B
tetradic
#4B1F9C #9C1F32 #709C1F #1F9C8A
square
#4B1F9C #9C1F32 #709C1F #1F9C8A
split-complementary
#4B1F9C #9C8A1F #329C1F
monochromatic
#1A0B36 #321569 #4B1F9C #6429CF #8758DE
Accessibility & contrast
On white
10.63
#4B1F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#4B1F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B1F9C
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B1F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B1F9C | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#2E435E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4b1f9c; /* rgb */ color: rgb(75, 31, 156); /* oklch */ color: oklch(38.7% 0.184 291.2);
Tailwind
colors: {
custom: {
50: '#8661ba',
500: '#4b1f9c',
950: '#000000',
},
}SCSS
$custom: #4b1f9c; $custom-light: #8661ba; $custom-dark: #000000;
JSON
{
"hex": "#4b1f9c",
"rgb": {
"r": 75,
"g": 31,
"b": 156
},
"hsl": {
"h": 261.12,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.38741,
"c": 0.18414,
"h": 291.2
},
"luminance": 0.04876
}Semantic roles & 50–950 ramp
primary
#4B1F9C
secondary
#9BC155
accent
#EA3EAD
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981