#462899#462899
#462899 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.172 H 287.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #462899 |
|---|---|
| RGB | rgb(70, 40, 153) |
| HSL | hsl(256, 59%, 38%) |
| HSV | hsv(256, 74%, 60%) |
| CMYK | cmyk(54.2%, 73.9%, 0%, 40%) |
| CIE-LAB | lab(27.07, 42.52, -56.80) |
| CIE-LCH | lch(27.07, 70.96, 306.82°) |
| OKLab | oklab(39.01% 0.0525 -0.1633) |
| OKLCH | oklch(39.01% 0.172 287.8) |
| XYZ | xyz(9.0327, 5.1191, 30.6430) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.51
Rebeccapurple
#663399
ΔE00 6.33
Darkslateblue
#483D8B
ΔE00 6.59
Royal
#0C1793
ΔE00 6.64
Indigo
#4B0082
ΔE00 7.02
Blueberry
#464196
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462899 #7B9928
analogous
#284399 #462899 #7E2899
triadic
#462899 #994628 #289946
tetradic
#462899 #992843 #7B9928 #28997E
square
#462899 #992843 #7B9928 #28997E
split-complementary
#462899 #997E28 #439928
monochromatic
#1A0F38 #301B68 #462899 #5C35CA #8365D7
Accessibility & contrast
On white
10.38
#462899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#462899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462899
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462899 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#25465E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #462899; /* rgb */ color: rgb(70, 40, 153); /* oklch */ color: oklch(39.0% 0.172 287.8);
Tailwind
colors: {
custom: {
50: '#8365b8',
500: '#462899',
950: '#000000',
},
}SCSS
$custom: #462899; $custom-light: #8365b8; $custom-dark: #000000;
JSON
{
"hex": "#462899",
"rgb": {
"r": 70,
"g": 40,
"b": 153
},
"hsl": {
"h": 255.929,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.39012,
"c": 0.17153,
"h": 287.8
},
"luminance": 0.0512
}Semantic roles & 50–950 ramp
primary
#462899
secondary
#A4BD60
accent
#E246B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80