#462B7E#462B7E
#462B7E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.134 H 293.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #462B7E |
|---|---|
| RGB | rgb(70, 43, 126) |
| HSL | hsl(260, 49%, 33%) |
| HSV | hsv(260, 66%, 49%) |
| CMYK | cmyk(44.4%, 65.9%, 0%, 50.6%) |
| CIE-LAB | lab(25.37, 32.80, -42.80) |
| CIE-LCH | lch(25.37, 53.92, 307.46°) |
| OKLab | oklab(37.07% 0.054 -0.1222) |
| OKLCH | oklch(37.07% 0.134 293.8) |
| XYZ | xyz(7.1545, 4.5360, 20.2332) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.42
Rebeccapurple
#663399
ΔE00 6.89
Indigo
#4B0082
ΔE00 7.24
Blueberry
#464196
ΔE00 7.30
Midnight Blue
#191970
ΔE00 7.65
Indigo (survey)
#380282
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462B7E #637E2B
analogous
#2B397E #462B7E #6F2B7E
triadic
#462B7E #7E462B #2B7E46
tetradic
#462B7E #7E2B39 #637E2B #2B7E6F
square
#462B7E #7E2B39 #637E2B #2B7E6F
split-complementary
#462B7E #7E6F2B #397E2B
monochromatic
#130C23 #2D1B50 #462B7E #5F3BAC #7F5CC7
Accessibility & contrast
On white
11.01
#462B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#462B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462B7E
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462B7E | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#373E50
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #462b7e; /* rgb */ color: rgb(70, 43, 126); /* oklch */ color: oklch(37.1% 0.134 293.8);
Tailwind
colors: {
custom: {
50: '#7e66a4',
500: '#462b7e',
950: '#000000',
},
}SCSS
$custom: #462b7e; $custom-light: #7e66a4; $custom-dark: #000000;
JSON
{
"hex": "#462b7e",
"rgb": {
"r": 70,
"g": 43,
"b": 126
},
"hsl": {
"h": 259.518,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.37074,
"c": 0.1336,
"h": 293.8
},
"luminance": 0.04536
}Semantic roles & 50–950 ramp
primary
#462B7E
secondary
#91AD58
accent
#D94FAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F