#462A7D#462A7D
#462A7D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.134 H 294.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #462A7D |
|---|---|
| RGB | rgb(70, 42, 125) |
| HSL | hsl(260, 50%, 33%) |
| HSV | hsv(260, 66%, 49%) |
| CMYK | cmyk(44%, 66.4%, 0%, 51%) |
| CIE-LAB | lab(25.07, 33.09, -42.66) |
| CIE-LCH | lch(25.07, 53.99, 307.81°) |
| OKLab | oklab(36.83% 0.0553 -0.1218) |
| OKLCH | oklch(36.83% 0.134 294.4) |
| XYZ | xyz(7.0544, 4.4385, 19.8831) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.72
Rebeccapurple
#663399
ΔE00 6.99
Indigo
#4B0082
ΔE00 7.02
Indigo (survey)
#380282
ΔE00 7.54
Midnight Blue
#191970
ΔE00 7.56
Blueberry
#464196
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462A7D #617D2A
analogous
#2A377D #462A7D #6F2A7D
triadic
#462A7D #7D462A #2A7D46
tetradic
#462A7D #7D2A37 #617D2A #2A7D6F
square
#462A7D #7D2A37 #617D2A #2A7D6F
split-complementary
#462A7D #7D6F2A #377D2A
monochromatic
#130B21 #2C1B4F #462A7D #6039AB #7F5AC8
Accessibility & contrast
On white
11.12
#462A7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#462A7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462A7D
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462A7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462A7D | 1.00 | 11.12 | 1.89 | 11.12 |
| #FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#373D4F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #462a7d; /* rgb */ color: rgb(70, 42, 125); /* oklch */ color: oklch(36.8% 0.134 294.4);
Tailwind
colors: {
custom: {
50: '#7e65a3',
500: '#462a7d',
950: '#000000',
},
}SCSS
$custom: #462a7d; $custom-light: #7e65a3; $custom-dark: #000000;
JSON
{
"hex": "#462a7d",
"rgb": {
"r": 70,
"g": 42,
"b": 125
},
"hsl": {
"h": 260.241,
"s": 49.701,
"l": 32.745
},
"oklch": {
"l": 0.36833,
"c": 0.13373,
"h": 294.4
},
"luminance": 0.04439
}Semantic roles & 50–950 ramp
primary
#462A7D
secondary
#90AD56
accent
#D94FAA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F