#4A1FA1#4A1FA1
#4A1FA1 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.190 H 289.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #4A1FA1 |
|---|---|
| RGB | rgb(74, 31, 161) |
| HSL | hsl(260, 68%, 38%) |
| HSV | hsv(260, 81%, 63%) |
| CMYK | cmyk(54%, 80.7%, 0%, 36.9%) |
| CIE-LAB | lab(26.76, 49.71, -62.18) |
| CIE-LCH | lch(26.76, 79.61, 308.64°) |
| OKLab | oklab(39.13% 0.0633 -0.1788) |
| OKLCH | oklch(39.13% 0.19 289.5) |
| XYZ | xyz(9.7452, 5.0086, 34.1646) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.09
Violet Blue
#510AC9
ΔE00 5.37
Ultramarine
#2000B1
ΔE00 5.75
Indigo
#4B0082
ΔE00 6.24
Cobalt Blue
#030AA7
ΔE00 6.46
Indigo (survey)
#380282
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A1FA1 #76A11F
analogous
#1F35A1 #4A1FA1 #8B1FA1
triadic
#4A1FA1 #A14A1F #1FA14A
tetradic
#4A1FA1 #A11F35 #76A11F #1FA18B
square
#4A1FA1 #A11F35 #76A11F #1FA18B
split-complementary
#4A1FA1 #A18B1F #35A11F
monochromatic
#1B0B3A #32156E #4A1FA1 #6229D4 #875BDF
Accessibility & contrast
On white
10.49
#4A1FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#4A1FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A1FA1
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A1FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A1FA1 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#284560
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4a1fa1; /* rgb */ color: rgb(74, 31, 161); /* oklch */ color: oklch(39.1% 0.190 289.5);
Tailwind
colors: {
custom: {
50: '#8761be',
500: '#4a1fa1',
950: '#000000',
},
}SCSS
$custom: #4a1fa1; $custom-light: #8761be; $custom-dark: #000000;
JSON
{
"hex": "#4a1fa1",
"rgb": {
"r": 74,
"g": 31,
"b": 161
},
"hsl": {
"h": 259.846,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.39129,
"c": 0.1897,
"h": 289.5
},
"luminance": 0.05009
}Semantic roles & 50–950 ramp
primary
#4A1FA1
secondary
#A0C458
accent
#EB3DB1
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981