#462EB8#462EB8
#462EB8 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.8% C 0.202 H 281.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #462EB8 |
|---|---|
| RGB | rgb(70, 46, 184) |
| HSL | hsl(250, 60%, 45%) |
| HSV | hsv(250, 75%, 72%) |
| CMYK | cmyk(62%, 75%, 0%, 27.8%) |
| CIE-LAB | lab(31.15, 48.65, -68.77) |
| CIE-LCH | lch(31.15, 84.24, 305.28°) |
| OKLab | oklab(42.79% 0.0405 -0.1983) |
| OKLCH | oklch(42.79% 0.202 281.5) |
| XYZ | xyz(12.1518, 6.7159, 45.9940) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 4.19
Blurple
#5539CC
ΔE00 4.32
Indigo Blue
#3A18B1
ΔE00 4.40
Purple Blue
#5D21D0
ΔE00 4.64
Violet Blue
#510AC9
ΔE00 4.91
Ocean Blue
#4F42B5
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462EB8 #A0B82E
analogous
#2E5BB8 #462EB8 #8B2EB8
triadic
#462EB8 #B8462E #2EB846
tetradic
#462EB8 #B82E5B #A0B82E #2EB88B
square
#462EB8 #B82E5B #A0B82E #2EB88B
split-complementary
#462EB8 #B88B2E #5BB82E
monochromatic
#211656 #332287 #462EB8 #6750D3 #9181DF
Accessibility & contrast
On white
8.96
#462EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#462EB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462EB8
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462EB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462EB8 | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #462eb8; /* rgb */ color: rgb(70, 46, 184); /* oklch */ color: oklch(42.8% 0.202 281.5);
Tailwind
colors: {
custom: {
50: '#876acf',
500: '#462eb8',
950: '#000000',
},
}SCSS
$custom: #462eb8; $custom-light: #876acf; $custom-dark: #000000;
JSON
{
"hex": "#462eb8",
"rgb": {
"r": 70,
"g": 46,
"b": 184
},
"hsl": {
"h": 250.435,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.42791,
"c": 0.20244,
"h": 281.5
},
"luminance": 0.06717
}Semantic roles & 50–950 ramp
primary
#462EB8
secondary
#BBC879
accent
#E345C8
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82