#462393#462393
#462393 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.170 H 290.0°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #462393 |
|---|---|
| RGB | rgb(70, 35, 147) |
| HSL | hsl(259, 62%, 36%) |
| HSV | hsv(259, 76%, 58%) |
| CMYK | cmyk(52.4%, 76.2%, 0%, 42.4%) |
| CIE-LAB | lab(25.59, 43.36, -55.54) |
| CIE-LCH | lch(25.59, 70.46, 307.98°) |
| OKLab | oklab(37.8% 0.0582 -0.1596) |
| OKLCH | oklch(37.8% 0.17 290) |
| XYZ | xyz(8.3918, 4.6104, 28.0458) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.79
Indigo
#4B0082
ΔE00 5.65
Indigo (survey)
#380282
ΔE00 5.82
Royal
#0C1793
ΔE00 6.28
Rebeccapurple
#663399
ΔE00 6.66
Ultramarine
#2000B1
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462393 #709323
analogous
#233893 #462393 #7E2393
triadic
#462393 #934623 #239346
tetradic
#462393 #932338 #709323 #23937E
square
#462393 #932338 #709323 #23937E
split-complementary
#462393 #937E23 #389323
monochromatic
#170B30 #2E1762 #462393 #5E2FC4 #8059D7
Accessibility & contrast
On white
10.92
#462393 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#462393 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462393
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462393 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462393 | 1.00 | 10.92 | 1.92 | 10.92 |
| #FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#2A4259
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #462393; /* rgb */ color: rgb(70, 35, 147); /* oklch */ color: oklch(37.8% 0.170 290.0);
Tailwind
colors: {
custom: {
50: '#8262b4',
500: '#462393',
950: '#000000',
},
}SCSS
$custom: #462393; $custom-light: #8262b4; $custom-dark: #000000;
JSON
{
"hex": "#462393",
"rgb": {
"r": 70,
"g": 35,
"b": 147
},
"hsl": {
"h": 258.75,
"s": 61.538,
"l": 35.686
},
"oklch": {
"l": 0.37798,
"c": 0.16985,
"h": 290
},
"luminance": 0.04611
}Semantic roles & 50–950 ramp
primary
#462393
secondary
#9CBC56
accent
#E543B2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980