#4F1BA1#4F1BA1
#4F1BA1 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.193 H 292.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1BA1 |
|---|---|
| RGB | rgb(79, 27, 161) |
| HSL | hsl(263, 71%, 37%) |
| HSV | hsv(263, 83%, 63%) |
| CMYK | cmyk(50.9%, 83.2%, 0%, 36.9%) |
| CIE-LAB | lab(26.79, 51.98, -62.11) |
| CIE-LCH | lch(26.79, 80.99, 309.93°) |
| OKLab | oklab(39.28% 0.0738 -0.1784) |
| OKLCH | oklch(39.28% 0.193 292.5) |
| XYZ | xyz(10.0476, 5.0190, 34.1507) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.54
Violet Blue
#510AC9
ΔE00 5.21
Indigo
#4B0082
ΔE00 5.75
Ultramarine
#2000B1
ΔE00 5.99
Indigo (survey)
#380282
ΔE00 6.44
Rebeccapurple
#663399
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1BA1 #6DA11B
analogous
#1B2AA1 #4F1BA1 #921BA1
triadic
#4F1BA1 #A14F1B #1BA14F
tetradic
#4F1BA1 #A11B2A #6DA11B #1BA192
square
#4F1BA1 #A11B2A #6DA11B #1BA192
split-complementary
#4F1BA1 #A1921B #2AA11B
monochromatic
#1C0938 #35126D #4F1BA1 #6924D5 #8B54E2
Accessibility & contrast
On white
10.48
#4F1BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#4F1BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1BA1
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1BA1 | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#334360
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4f1ba1; /* rgb */ color: rgb(79, 27, 161); /* oklch */ color: oklch(39.3% 0.193 292.5);
Tailwind
colors: {
custom: {
50: '#8a60be',
500: '#4f1ba1',
950: '#000000',
},
}SCSS
$custom: #4f1ba1; $custom-light: #8a60be; $custom-dark: #000000;
JSON
{
"hex": "#4f1ba1",
"rgb": {
"r": 79,
"g": 27,
"b": 161
},
"hsl": {
"h": 263.284,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.39284,
"c": 0.19311,
"h": 292.5
},
"luminance": 0.05019
}Semantic roles & 50–950 ramp
primary
#4F1BA1
secondary
#99C552
accent
#EE3AA8
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981