#481F95#481F95
#481F95 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.176 H 291.3°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #481F95 |
|---|---|
| RGB | rgb(72, 31, 149) |
| HSL | hsl(261, 66%, 35%) |
| HSV | hsv(261, 79%, 58%) |
| CMYK | cmyk(51.7%, 79.2%, 0%, 41.6%) |
| CIE-LAB | lab(25.34, 46.14, -57.17) |
| CIE-LCH | lch(25.34, 73.47, 308.90°) |
| OKLab | oklab(37.73% 0.064 -0.1643) |
| OKLCH | oklch(37.73% 0.176 291.3) |
| XYZ | xyz(8.5857, 4.5273, 28.8494) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.42
Indigo
#4B0082
ΔE00 5.06
Indigo (survey)
#380282
ΔE00 5.39
Royal
#0C1793
ΔE00 6.34
Ultramarine
#2000B1
ΔE00 6.43
Cobalt Blue
#030AA7
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#481F95 #6C951F
analogous
#1F3195 #481F95 #831F95
triadic
#481F95 #95481F #1F9548
tetradic
#481F95 #951F31 #6C951F #1F9583
square
#481F95 #951F31 #6C951F #1F9583
split-complementary
#481F95 #95831F #31951F
monochromatic
#170A30 #301462 #481F95 #602AC8 #8253DB
Accessibility & contrast
On white
11.02
#481F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#481F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #481F95
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##481F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##481F95 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#2D405A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #481f95; /* rgb */ color: rgb(72, 31, 149); /* oklch */ color: oklch(37.7% 0.176 291.3);
Tailwind
colors: {
custom: {
50: '#8460b5',
500: '#481f95',
950: '#000000',
},
}SCSS
$custom: #481f95; $custom-light: #8460b5; $custom-dark: #000000;
JSON
{
"hex": "#481f95",
"rgb": {
"r": 72,
"g": 31,
"b": 149
},
"hsl": {
"h": 260.847,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.37733,
"c": 0.17627,
"h": 291.3
},
"luminance": 0.04528
}Semantic roles & 50–950 ramp
primary
#481F95
secondary
#99BF51
accent
#E93FAE
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980