#462F9D#462F9D
#462F9D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.168 H 285.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #462F9D |
|---|---|
| RGB | rgb(70, 47, 157) |
| HSL | hsl(253, 54%, 40%) |
| HSV | hsv(253, 70%, 62%) |
| CMYK | cmyk(55.4%, 70.1%, 0%, 38.4%) |
| CIE-LAB | lab(28.82, 39.87, -56.38) |
| CIE-LCH | lch(28.82, 69.05, 305.27°) |
| OKLab | oklab(40.37% 0.0455 -0.1621) |
| OKLCH | oklch(40.37% 0.168 285.7) |
| XYZ | xyz(9.6263, 5.7689, 32.4980) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.28
Darkslateblue
#483D8B
ΔE00 5.43
Blueberry
#464196
ΔE00 5.54
Sapphire (survey)
#2138AB
ΔE00 5.89
Ocean Blue
#4F42B5
ΔE00 6.00
Rebeccapurple
#663399
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462F9D #869D2F
analogous
#2F4F9D #462F9D #7D2F9D
triadic
#462F9D #9D462F #2F9D46
tetradic
#462F9D #9D2F4F #869D2F #2F9D7D
square
#462F9D #9D2F4F #869D2F #2F9D7D
split-complementary
#462F9D #9D7D2F #4F9D2F
monochromatic
#1C133F #31216E #462F9D #5E43C7 #8672D5
Accessibility & contrast
On white
9.75
#462F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#462F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462F9D
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462F9D | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#204C62
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #462f9d; /* rgb */ color: rgb(70, 47, 157); /* oklch */ color: oklch(40.4% 0.168 285.7);
Tailwind
colors: {
custom: {
50: '#8369bb',
500: '#462f9d',
950: '#000000',
},
}SCSS
$custom: #462f9d; $custom-light: #8369bb; $custom-dark: #000000;
JSON
{
"hex": "#462f9d",
"rgb": {
"r": 70,
"g": 47,
"b": 157
},
"hsl": {
"h": 252.545,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.40369,
"c": 0.16835,
"h": 285.7
},
"luminance": 0.05769
}Semantic roles & 50–950 ramp
primary
#462F9D
secondary
#ABBC6B
accent
#DD4BBF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81