#462A9C#462A9C
#462A9C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.173 H 286.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #462A9C |
|---|---|
| RGB | rgb(70, 42, 156) |
| HSL | hsl(255, 58%, 39%) |
| HSV | hsv(255, 73%, 61%) |
| CMYK | cmyk(55.1%, 73.1%, 0%, 38.8%) |
| CIE-LAB | lab(27.73, 42.34, -57.56) |
| CIE-LCH | lch(27.73, 71.45, 306.34°) |
| OKLab | oklab(39.56% 0.0501 -0.1655) |
| OKLCH | oklch(39.56% 0.173 286.8) |
| XYZ | xyz(9.3527, 5.3578, 31.9874) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.47
Rebeccapurple
#663399
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.37
Sapphire (survey)
#2138AB
ΔE00 6.68
Blueberry
#464196
ΔE00 6.70
Royal
#0C1793
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462A9C #809C2A
analogous
#2A479C #462A9C #7F2A9C
triadic
#462A9C #9C462A #2A9C46
tetradic
#462A9C #9C2A47 #809C2A #2A9C7F
square
#462A9C #9C2A47 #809C2A #2A9C7F
split-complementary
#462A9C #9C7F2A #479C2A
monochromatic
#1B103C #301D6C #462A9C #5D39CA #846AD7
Accessibility & contrast
On white
10.14
#462A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#462A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462A9C
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462A9C | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#224960
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #462a9c; /* rgb */ color: rgb(70, 42, 156); /* oklch */ color: oklch(39.6% 0.173 286.8);
Tailwind
colors: {
custom: {
50: '#8366ba',
500: '#462a9c',
950: '#000000',
},
}SCSS
$custom: #462a9c; $custom-light: #8366ba; $custom-dark: #000000;
JSON
{
"hex": "#462a9c",
"rgb": {
"r": 70,
"g": 42,
"b": 156
},
"hsl": {
"h": 254.737,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.39564,
"c": 0.17294,
"h": 286.8
},
"luminance": 0.05358
}Semantic roles & 50–950 ramp
primary
#462A9C
secondary
#A7BD65
accent
#E147BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81