#462D9C#462D9C
#462D9C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.169 H 286.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #462D9C |
|---|---|
| RGB | rgb(70, 45, 156) |
| HSL | hsl(254, 55%, 39%) |
| HSV | hsv(254, 71%, 61%) |
| CMYK | cmyk(55.1%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(28.32, 40.69, -56.59) |
| CIE-LCH | lch(28.32, 69.70, 305.72°) |
| OKLab | oklab(39.99% 0.0475 -0.1627) |
| OKLCH | oklch(39.99% 0.169 286.3) |
| XYZ | xyz(9.4631, 5.5787, 32.0242) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.99
Darkslateblue
#483D8B
ΔE00 5.75
Blueberry
#464196
ΔE00 5.99
Rebeccapurple
#663399
ΔE00 6.18
Sapphire (survey)
#2138AB
ΔE00 6.24
Ocean Blue
#4F42B5
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462D9C #839C2D
analogous
#2D4B9C #462D9C #7E2D9C
triadic
#462D9C #9C462D #2D9C46
tetradic
#462D9C #9C2D4B #839C2D #2D9C7E
square
#462D9C #9C2D4B #839C2D #2D9C7E
split-complementary
#462D9C #9C7E2D #4B9C2D
monochromatic
#1B123D #311F6D #462D9C #5E3FC8 #856ED5
Accessibility & contrast
On white
9.93
#462D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#462D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462D9C
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462D9C | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#214A61
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #462d9c; /* rgb */ color: rgb(70, 45, 156); /* oklch */ color: oklch(40.0% 0.169 286.3);
Tailwind
colors: {
custom: {
50: '#8368ba',
500: '#462d9c',
950: '#000000',
},
}SCSS
$custom: #462d9c; $custom-light: #8368ba; $custom-dark: #000000;
JSON
{
"hex": "#462d9c",
"rgb": {
"r": 70,
"g": 45,
"b": 156
},
"hsl": {
"h": 253.514,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.39985,
"c": 0.16947,
"h": 286.3
},
"luminance": 0.05579
}Semantic roles & 50–950 ramp
primary
#462D9C
secondary
#A9BC68
accent
#DF49BD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81