#481A8C#481A8C
#481A8C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.171 H 294.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #481A8C |
|---|---|
| RGB | rgb(72, 26, 140) |
| HSL | hsl(264, 69%, 33%) |
| HSV | hsv(264, 81%, 55%) |
| CMYK | cmyk(48.6%, 81.4%, 0%, 45.1%) |
| CIE-LAB | lab(23.70, 45.91, -54.29) |
| CIE-LCH | lch(23.70, 71.10, 310.22°) |
| OKLab | oklab(36.33% 0.0706 -0.1558) |
| OKLCH | oklch(36.33% 0.171 294.4) |
| XYZ | xyz(7.7742, 4.0097, 25.1702) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.55
Indigo (survey)
#380282
ΔE00 4.20
Indigo Blue
#3A18B1
ΔE00 5.67
Royal Purple (survey)
#4B006E
ΔE00 6.19
Royal
#0C1793
ΔE00 6.57
Ultramarine
#2000B1
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#481A8C #5E8C1A
analogous
#1A258C #481A8C #811A8C
triadic
#481A8C #8C481A #1A8C48
tetradic
#481A8C #8C1A25 #5E8C1A #1A8C81
square
#481A8C #8C1A25 #5E8C1A #1A8C81
split-complementary
#481A8C #8C811A #258C1A
monochromatic
#130725 #2D1058 #481A8C #6324C0 #8244DC
Accessibility & contrast
On white
11.65
#481A8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#481A8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #481A8C
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##481A8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##481A8C | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#333B53
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #481a8c; /* rgb */ color: rgb(72, 26, 140); /* oklch */ color: oklch(36.3% 0.171 294.4);
Tailwind
colors: {
custom: {
50: '#835daf',
500: '#481a8c',
950: '#000000',
},
}SCSS
$custom: #481a8c; $custom-light: #835daf; $custom-dark: #000000;
JSON
{
"hex": "#481a8c",
"rgb": {
"r": 72,
"g": 26,
"b": 140
},
"hsl": {
"h": 264.211,
"s": 68.675,
"l": 32.549
},
"oklch": {
"l": 0.36326,
"c": 0.17103,
"h": 294.4
},
"luminance": 0.0401
}Semantic roles & 50–950 ramp
primary
#481A8C
secondary
#8DBE44
accent
#EC3CA5
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0410
muted
#7C797F