#461F7F#461F7F
#461F7F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.151 H 296.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #461F7F |
|---|---|
| RGB | rgb(70, 31, 127) |
| HSL | hsl(264, 61%, 31%) |
| HSV | hsv(264, 76%, 50%) |
| CMYK | cmyk(44.9%, 75.6%, 0%, 50.2%) |
| CIE-LAB | lab(23.05, 39.72, -47.21) |
| CIE-LCH | lch(23.05, 61.70, 310.08°) |
| OKLab | oklab(35.44% 0.0669 -0.1351) |
| OKLCH | oklch(35.44% 0.151 296.3) |
| XYZ | xyz(6.8455, 3.8142, 20.4501) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.27
Indigo (survey)
#380282
ΔE00 4.96
Royal Purple (survey)
#4B006E
ΔE00 5.50
Midnight Blue
#191970
ΔE00 7.03
Royal
#0C1793
ΔE00 7.50
Rebeccapurple
#663399
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#461F7F #587F1F
analogous
#1F287F #461F7F #761F7F
triadic
#461F7F #7F461F #1F7F46
tetradic
#461F7F #7F1F28 #587F1F #1F7F76
square
#461F7F #7F1F28 #587F1F #1F7F76
split-complementary
#461F7F #7F761F #287F1F
monochromatic
#10071D #2B134E #461F7F #612BB0 #7F46D2
Accessibility & contrast
On white
11.91
#461F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#461F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #461F7F
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##461F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##461F7F | 1.00 | 11.91 | 1.76 | 11.91 |
| #FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#37384D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #461f7f; /* rgb */ color: rgb(70, 31, 127); /* oklch */ color: oklch(35.4% 0.151 296.3);
Tailwind
colors: {
custom: {
50: '#7f5fa5',
500: '#461f7f',
950: '#000000',
},
}SCSS
$custom: #461f7f; $custom-light: #7f5fa5; $custom-dark: #000000;
JSON
{
"hex": "#461f7f",
"rgb": {
"r": 70,
"g": 31,
"b": 127
},
"hsl": {
"h": 264.375,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.35438,
"c": 0.15076,
"h": 296.3
},
"luminance": 0.03814
}Semantic roles & 50–950 ramp
primary
#461F7F
secondary
#87B248
accent
#E444A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F