#462298#462298
#462298 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.177 H 289.0°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #462298 |
|---|---|
| RGB | rgb(70, 34, 152) |
| HSL | hsl(258, 63%, 36%) |
| HSV | hsv(258, 78%, 60%) |
| CMYK | cmyk(53.9%, 77.6%, 0%, 40.4%) |
| CIE-LAB | lab(25.90, 45.28, -58.11) |
| CIE-LCH | lch(25.90, 73.67, 307.93°) |
| OKLab | oklab(38.16% 0.0576 -0.1671) |
| OKLCH | oklch(38.16% 0.177 289) |
| XYZ | xyz(8.7637, 4.7127, 30.1476) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.03
Indigo
#4B0082
ΔE00 5.88
Indigo (survey)
#380282
ΔE00 5.98
Royal
#0C1793
ΔE00 6.15
Ultramarine
#2000B1
ΔE00 6.31
Cobalt Blue
#030AA7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462298 #749822
analogous
#223998 #462298 #812298
triadic
#462298 #984622 #229846
tetradic
#462298 #982239 #749822 #229881
square
#462298 #982239 #749822 #229881
split-complementary
#462298 #988122 #399822
monochromatic
#180C34 #2F1766 #462298 #5D2DCA #815ADA
Accessibility & contrast
On white
10.81
#462298 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#462298 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462298
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462298 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462298 | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#26435C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #462298; /* rgb */ color: rgb(70, 34, 152); /* oklch */ color: oklch(38.2% 0.177 289.0);
Tailwind
colors: {
custom: {
50: '#8362b7',
500: '#462298',
950: '#000000',
},
}SCSS
$custom: #462298; $custom-light: #8362b7; $custom-dark: #000000;
JSON
{
"hex": "#462298",
"rgb": {
"r": 70,
"g": 34,
"b": 152
},
"hsl": {
"h": 258.305,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.38158,
"c": 0.17675,
"h": 289
},
"luminance": 0.04713
}Semantic roles & 50–950 ramp
primary
#462298
secondary
#9FBE57
accent
#E641B4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980