#462D9F#462D9F
#462D9F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.173 H 285.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #462D9F |
|---|---|
| RGB | rgb(70, 45, 159) |
| HSL | hsl(253, 56%, 40%) |
| HSV | hsv(253, 72%, 62%) |
| CMYK | cmyk(56%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(28.59, 41.60, -57.97) |
| CIE-LCH | lch(28.59, 71.35, 305.67°) |
| OKLab | oklab(40.26% 0.0469 -0.1667) |
| OKLCH | oklch(40.26% 0.173 285.7) |
| XYZ | xyz(9.7203, 5.6815, 33.3786) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.71
Darkslateblue
#483D8B
ΔE00 6.01
Sapphire (survey)
#2138AB
ΔE00 6.06
Blueberry
#464196
ΔE00 6.10
Ocean Blue
#4F42B5
ΔE00 6.22
Rebeccapurple
#663399
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462D9F #869F2D
analogous
#2D4D9F #462D9F #7F2D9F
triadic
#462D9F #9F462D #2D9F46
tetradic
#462D9F #9F2D4D #869F2D #2D9F7F
square
#462D9F #9F2D4D #869F2D #2D9F7F
split-complementary
#462D9F #9F7F2D #4D9F2D
monochromatic
#1C1240 #31206F #462D9F #5E40C9 #8670D6
Accessibility & contrast
On white
9.83
#462D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#462D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462D9F
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462D9F | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#1E4B63
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #462d9f; /* rgb */ color: rgb(70, 45, 159); /* oklch */ color: oklch(40.3% 0.173 285.7);
Tailwind
colors: {
custom: {
50: '#8368bc',
500: '#462d9f',
950: '#000000',
},
}SCSS
$custom: #462d9f; $custom-light: #8368bc; $custom-dark: #000000;
JSON
{
"hex": "#462d9f",
"rgb": {
"r": 70,
"g": 45,
"b": 159
},
"hsl": {
"h": 253.158,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.40262,
"c": 0.1732,
"h": 285.7
},
"luminance": 0.05682
}Semantic roles & 50–950 ramp
primary
#462D9F
secondary
#ABBE6A
accent
#DF49BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81