#481F6F#481F6F
#481F6F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.132 H 303.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #481F6F |
|---|---|
| RGB | rgb(72, 31, 111) |
| HSL | hsl(271, 56%, 28%) |
| HSV | hsv(271, 72%, 44%) |
| CMYK | cmyk(35.1%, 72.1%, 0%, 56.5%) |
| CIE-LAB | lab(21.96, 35.79, -38.74) |
| CIE-LCH | lch(21.96, 52.74, 312.74°) |
| OKLab | oklab(34.31% 0.0731 -0.1101) |
| OKLCH | oklch(34.31% 0.132 303.6) |
| XYZ | xyz(6.0311, 3.5054, 15.3947) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.68
Indigo
#4B0082
ΔE00 5.66
Indigo (survey)
#380282
ΔE00 6.87
Midnight Blue
#191970
ΔE00 8.14
Plum Purple
#4E0550
ΔE00 8.15
Dark Indigo
#1F0954
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#481F6F #466F1F
analogous
#201F6F #481F6F #6F1F6E
triadic
#481F6F #6F481F #1F6F48
tetradic
#481F6F #6F201F #466F1F #1F6E6F
square
#481F6F #6F201F #466F1F #1F6E6F
split-complementary
#481F6F #6E6F1F #1F6F20
monochromatic
#100718 #29123F #481F6F #672C9F #863FC9
Accessibility & contrast
On white
12.35
#481F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#481F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #481F6F
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##481F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##481F6F | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#403144
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #481f6f; /* rgb */ color: rgb(72, 31, 111); /* oklch */ color: oklch(34.3% 0.132 303.6);
Tailwind
colors: {
custom: {
50: '#7f5e99',
500: '#481f6f',
950: '#000000',
},
}SCSS
$custom: #481f6f; $custom-light: #7f5e99; $custom-dark: #000000;
JSON
{
"hex": "#481f6f",
"rgb": {
"r": 72,
"g": 31,
"b": 111
},
"hsl": {
"h": 270.75,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.34305,
"c": 0.13219,
"h": 303.6
},
"luminance": 0.03505
}Semantic roles & 50–950 ramp
primary
#481F6F
secondary
#74A347
accent
#E04892
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E