#462E95#462E95
#462E95 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.159 H 287.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #462E95 |
|---|---|
| RGB | rgb(70, 46, 149) |
| HSL | hsl(254, 53%, 38%) |
| HSV | hsv(254, 69%, 58%) |
| CMYK | cmyk(53%, 69.1%, 0%, 41.6%) |
| CIE-LAB | lab(27.91, 37.98, -52.97) |
| CIE-LCH | lch(27.91, 65.18, 305.64°) |
| OKLab | oklab(39.5% 0.0478 -0.1521) |
| OKLCH | oklch(39.5% 0.159 287.4) |
| XYZ | xyz(8.9260, 5.4256, 29.0049) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.98
Blueberry
#464196
ΔE00 5.61
Indigo Blue
#3A18B1
ΔE00 5.92
Rebeccapurple
#663399
ΔE00 6.03
Sapphire (survey)
#2138AB
ΔE00 6.64
Ocean Blue
#4F42B5
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462E95 #7D952E
analogous
#2E4995 #462E95 #7A2E95
triadic
#462E95 #95462E #2E9546
tetradic
#462E95 #952E49 #7D952E #2E957A
square
#462E95 #952E49 #7D952E #2E957A
split-complementary
#462E95 #957A2E #49952E
monochromatic
#1A1137 #302066 #462E95 #5C3DC3 #846CD2
Accessibility & contrast
On white
10.07
#462E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#462E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462E95
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462E95 | 1.00 | 10.07 | 2.09 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#28485D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #462e95; /* rgb */ color: rgb(70, 46, 149); /* oklch */ color: oklch(39.5% 0.159 287.4);
Tailwind
colors: {
custom: {
50: '#8169b5',
500: '#462e95',
950: '#000000',
},
}SCSS
$custom: #462e95; $custom-light: #8169b5; $custom-dark: #000000;
JSON
{
"hex": "#462e95",
"rgb": {
"r": 70,
"g": 46,
"b": 149
},
"hsl": {
"h": 253.981,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.39502,
"c": 0.15941,
"h": 287.4
},
"luminance": 0.05426
}Semantic roles & 50–950 ramp
primary
#462E95
secondary
#A5B966
accent
#DC4CBB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80