#462F97#462F97
#462F97 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.161 H 286.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #462F97 |
|---|---|
| RGB | rgb(70, 47, 151) |
| HSL | hsl(253, 53%, 39%) |
| HSV | hsv(253, 69%, 59%) |
| CMYK | cmyk(53.6%, 68.9%, 0%, 40.8%) |
| CIE-LAB | lab(28.30, 38.02, -53.57) |
| CIE-LCH | lch(28.30, 65.69, 305.36°) |
| OKLab | oklab(39.83% 0.0465 -0.1538) |
| OKLCH | oklch(39.83% 0.161 286.8) |
| XYZ | xyz(9.1266, 5.5690, 29.8662) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.90
Blueberry
#464196
ΔE00 5.37
Indigo Blue
#3A18B1
ΔE00 5.87
Rebeccapurple
#663399
ΔE00 6.05
Sapphire (survey)
#2138AB
ΔE00 6.33
Ocean Blue
#4F42B5
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462F97 #80972F
analogous
#2F4C97 #462F97 #7A2F97
triadic
#462F97 #97462F #2F9746
tetradic
#462F97 #972F4C #80972F #2F977A
square
#462F97 #972F4C #80972F #2F977A
split-complementary
#462F97 #977A2F #4C972F
monochromatic
#1B123A #302068 #462F97 #5D40C3 #846ED2
Accessibility & contrast
On white
9.93
#462F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#462F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462F97
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462F97 | 1.00 | 9.93 | 2.11 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#26495F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #462f97; /* rgb */ color: rgb(70, 47, 151); /* oklch */ color: oklch(39.8% 0.161 286.8);
Tailwind
colors: {
custom: {
50: '#8269b6',
500: '#462f97',
950: '#000000',
},
}SCSS
$custom: #462f97; $custom-light: #8269b6; $custom-dark: #000000;
JSON
{
"hex": "#462f97",
"rgb": {
"r": 70,
"g": 47,
"b": 151
},
"hsl": {
"h": 253.269,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.39831,
"c": 0.16071,
"h": 286.8
},
"luminance": 0.05569
}Semantic roles & 50–950 ramp
primary
#462F97
secondary
#A7B968
accent
#DC4CBC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80