#462F9F#462F9F
#462F9F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.171 H 285.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #462F9F |
|---|---|
| RGB | rgb(70, 47, 159) |
| HSL | hsl(252, 54%, 40%) |
| HSV | hsv(252, 70%, 62%) |
| CMYK | cmyk(56%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(29.00, 40.48, -57.30) |
| CIE-LCH | lch(29.00, 70.16, 305.24°) |
| OKLab | oklab(40.55% 0.0451 -0.1648) |
| OKLCH | oklch(40.55% 0.171 285.3) |
| XYZ | xyz(9.7984, 5.8378, 33.4047) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.11
Blueberry
#464196
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 5.62
Sapphire (survey)
#2138AB
ΔE00 5.78
Ocean Blue
#4F42B5
ΔE00 5.83
Rebeccapurple
#663399
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462F9F #889F2F
analogous
#2F509F #462F9F #7E2F9F
triadic
#462F9F #9F462F #2F9F46
tetradic
#462F9F #9F2F50 #889F2F #2F9F7E
square
#462F9F #9F2F50 #889F2F #2F9F7E
split-complementary
#462F9F #9F7E2F #509F2F
monochromatic
#1C1341 #312170 #462F9F #5F44C8 #8773D6
Accessibility & contrast
On white
9.69
#462F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#462F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462F9F
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462F9F | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#1E4C63
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #462f9f; /* rgb */ color: rgb(70, 47, 159); /* oklch */ color: oklch(40.6% 0.171 285.3);
Tailwind
colors: {
custom: {
50: '#8369bc',
500: '#462f9f',
950: '#000000',
},
}SCSS
$custom: #462f9f; $custom-light: #8369bc; $custom-dark: #000000;
JSON
{
"hex": "#462f9f",
"rgb": {
"r": 70,
"g": 47,
"b": 159
},
"hsl": {
"h": 252.321,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.40551,
"c": 0.17087,
"h": 285.3
},
"luminance": 0.05838
}Semantic roles & 50–950 ramp
primary
#462F9F
secondary
#ADBD6D
accent
#DE4ABF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81