#4F1BA0#4F1BA0
#4F1BA0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.192 H 292.7°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1BA0 |
|---|---|
| RGB | rgb(79, 27, 160) |
| HSL | hsl(263, 71%, 37%) |
| HSV | hsv(263, 83%, 63%) |
| CMYK | cmyk(50.6%, 83.1%, 0%, 37.3%) |
| CIE-LAB | lab(26.69, 51.72, -61.67) |
| CIE-LCH | lch(26.69, 80.49, 309.99°) |
| OKLab | oklab(39.18% 0.0742 -0.1771) |
| OKLCH | oklch(39.18% 0.192 292.7) |
| XYZ | xyz(9.9598, 4.9838, 33.6881) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.64
Violet Blue
#510AC9
ΔE00 5.35
Indigo
#4B0082
ΔE00 5.63
Ultramarine
#2000B1
ΔE00 6.04
Indigo (survey)
#380282
ΔE00 6.34
Rebeccapurple
#663399
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1BA0 #6CA01B
analogous
#1B29A0 #4F1BA0 #921BA0
triadic
#4F1BA0 #A04F1B #1BA04F
tetradic
#4F1BA0 #A01B29 #6CA01B #1BA092
square
#4F1BA0 #A01B29 #6CA01B #1BA092
split-complementary
#4F1BA0 #A0921B #29A01B
monochromatic
#1B0937 #35126C #4F1BA0 #6924D4 #8B53E2
Accessibility & contrast
On white
10.52
#4F1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#4F1BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1BA0
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1BA0 | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#34435F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4f1ba0; /* rgb */ color: rgb(79, 27, 160); /* oklch */ color: oklch(39.2% 0.192 292.7);
Tailwind
colors: {
custom: {
50: '#8a60bd',
500: '#4f1ba0',
950: '#000000',
},
}SCSS
$custom: #4f1ba0; $custom-light: #8a60bd; $custom-dark: #000000;
JSON
{
"hex": "#4f1ba0",
"rgb": {
"r": 79,
"g": 27,
"b": 160
},
"hsl": {
"h": 263.459,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.39185,
"c": 0.19205,
"h": 292.7
},
"luminance": 0.04984
}Semantic roles & 50–950 ramp
primary
#4F1BA0
secondary
#98C552
accent
#EE3AA8
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981