#481F9C#481F9C
#481F9C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.184 H 289.6°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #481F9C |
|---|---|
| RGB | rgb(72, 31, 156) |
| HSL | hsl(260, 67%, 37%) |
| HSV | hsv(260, 80%, 61%) |
| CMYK | cmyk(53.8%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(26.03, 48.08, -60.34) |
| CIE-LCH | lch(26.03, 77.15, 308.55°) |
| OKLab | oklab(38.42% 0.0618 -0.1735) |
| OKLCH | oklch(38.42% 0.184 289.6) |
| XYZ | xyz(9.1615, 4.7576, 31.8816) |
| Luminance | 0.0476 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.49
Indigo
#4B0082
ΔE00 5.75
Ultramarine
#2000B1
ΔE00 5.85
Indigo (survey)
#380282
ΔE00 5.96
Violet Blue
#510AC9
ΔE00 6.09
Royal
#0C1793
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#481F9C #739C1F
analogous
#1F359C #481F9C #871F9C
triadic
#481F9C #9C481F #1F9C48
tetradic
#481F9C #9C1F35 #739C1F #1F9C87
square
#481F9C #9C1F35 #739C1F #1F9C87
split-complementary
#481F9C #9C871F #359C1F
monochromatic
#190B36 #301569 #481F9C #6029CF #8458DE
Accessibility & contrast
On white
10.76
#481F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#481F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #481F9C
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##481F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##481F9C | 1.00 | 10.76 | 1.95 | 10.76 |
| #FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#28435E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #481f9c; /* rgb */ color: rgb(72, 31, 156); /* oklch */ color: oklch(38.4% 0.184 289.6);
Tailwind
colors: {
custom: {
50: '#8560ba',
500: '#481f9c',
950: '#000000',
},
}SCSS
$custom: #481f9c; $custom-light: #8560ba; $custom-dark: #000000;
JSON
{
"hex": "#481f9c",
"rgb": {
"r": 72,
"g": 31,
"b": 156
},
"hsl": {
"h": 259.68,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.38422,
"c": 0.18417,
"h": 289.6
},
"luminance": 0.04758
}Semantic roles & 50–950 ramp
primary
#481F9C
secondary
#9EC155
accent
#EA3EB1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981