#462A7E#462A7E
#462A7E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.135 H 294.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #462A7E |
|---|---|
| RGB | rgb(70, 42, 126) |
| HSL | hsl(260, 50%, 33%) |
| HSV | hsv(260, 67%, 49%) |
| CMYK | cmyk(44.4%, 66.7%, 0%, 50.6%) |
| CIE-LAB | lab(25.15, 33.39, -43.16) |
| CIE-LCH | lch(25.15, 54.57, 307.73°) |
| OKLab | oklab(36.92% 0.0552 -0.1232) |
| OKLCH | oklch(36.92% 0.135 294.1) |
| XYZ | xyz(7.1186, 4.4642, 20.2212) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.67
Rebeccapurple
#663399
ΔE00 6.91
Indigo
#4B0082
ΔE00 6.97
Indigo (survey)
#380282
ΔE00 7.47
Blueberry
#464196
ΔE00 7.52
Midnight Blue
#191970
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462A7E #627E2A
analogous
#2A387E #462A7E #702A7E
triadic
#462A7E #7E462A #2A7E46
tetradic
#462A7E #7E2A38 #627E2A #2A7E70
square
#462A7E #7E2A38 #627E2A #2A7E70
split-complementary
#462A7E #7E702A #387E2A
monochromatic
#130B22 #2C1B50 #462A7E #5F39AC #7F5AC8
Accessibility & contrast
On white
11.09
#462A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#462A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462A7E
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462A7E | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#373E50
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #462a7e; /* rgb */ color: rgb(70, 42, 126); /* oklch */ color: oklch(36.9% 0.135 294.1);
Tailwind
colors: {
custom: {
50: '#7e65a4',
500: '#462a7e',
950: '#000000',
},
}SCSS
$custom: #462a7e; $custom-light: #7e65a4; $custom-dark: #000000;
JSON
{
"hex": "#462a7e",
"rgb": {
"r": 70,
"g": 42,
"b": 126
},
"hsl": {
"h": 260,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.36915,
"c": 0.13503,
"h": 294.1
},
"luminance": 0.04464
}Semantic roles & 50–950 ramp
primary
#462A7E
secondary
#90AE56
accent
#DA4EAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F