#462495#462495
#462495 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.171 H 289.4°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #462495 |
|---|---|
| RGB | rgb(70, 36, 149) |
| HSL | hsl(258, 61%, 36%) |
| HSV | hsv(258, 76%, 58%) |
| CMYK | cmyk(53%, 75.8%, 0%, 41.6%) |
| CIE-LAB | lab(25.96, 43.43, -56.17) |
| CIE-LCH | lch(25.96, 71.00, 307.71°) |
| OKLab | oklab(38.11% 0.0568 -0.1614) |
| OKLCH | oklch(38.11% 0.171 289.4) |
| XYZ | xyz(8.5799, 4.7334, 28.8895) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.59
Indigo
#4B0082
ΔE00 5.98
Indigo (survey)
#380282
ΔE00 6.12
Royal
#0C1793
ΔE00 6.31
Rebeccapurple
#663399
ΔE00 6.58
Ultramarine
#2000B1
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462495 #739524
analogous
#243B95 #462495 #7F2495
triadic
#462495 #954624 #249546
tetradic
#462495 #95243B #739524 #24957F
square
#462495 #95243B #739524 #24957F
split-complementary
#462495 #957F24 #3B9524
monochromatic
#180C32 #2F1864 #462495 #5D30C6 #815CD8
Accessibility & contrast
On white
10.79
#462495 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#462495 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462495
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462495 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462495 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#29435B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #462495; /* rgb */ color: rgb(70, 36, 149); /* oklch */ color: oklch(38.1% 0.171 289.4);
Tailwind
colors: {
custom: {
50: '#8262b5',
500: '#462495',
950: '#000000',
},
}SCSS
$custom: #462495; $custom-light: #8262b5; $custom-dark: #000000;
JSON
{
"hex": "#462495",
"rgb": {
"r": 70,
"g": 36,
"b": 149
},
"hsl": {
"h": 258.053,
"s": 61.081,
"l": 36.275
},
"oklch": {
"l": 0.38114,
"c": 0.17113,
"h": 289.4
},
"luminance": 0.04734
}Semantic roles & 50–950 ramp
primary
#462495
secondary
#9EBC59
accent
#E444B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80