#462FAF#462FAF
#462FAF is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.191 H 282.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #462FAF |
|---|---|
| RGB | rgb(70, 47, 175) |
| HSL | hsl(251, 58%, 44%) |
| HSV | hsv(251, 73%, 69%) |
| CMYK | cmyk(60%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(30.47, 45.39, -64.53) |
| CIE-LCH | lch(30.47, 78.89, 305.12°) |
| OKLab | oklab(42.05% 0.0419 -0.186) |
| OKLCH | oklch(42.05% 0.191 282.7) |
| XYZ | xyz(11.2778, 6.4295, 41.1959) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.43
Blue With A Hint Of Purple
#533CC6
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 4.94
Blurple
#5539CC
ΔE00 5.14
Sapphire (survey)
#2138AB
ΔE00 5.43
Purple Blue
#5D21D0
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462FAF #98AF2F
analogous
#2F58AF #462FAF #862FAF
triadic
#462FAF #AF462F #2FAF46
tetradic
#462FAF #AF2F58 #98AF2F #2FAF86
square
#462FAF #AF2F58 #98AF2F #2FAF86
split-complementary
#462FAF #AF862F #58AF2F
monochromatic
#1F154F #33227F #462FAF #644CCF #8E7CDC
Accessibility & contrast
On white
9.19
#462FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#462FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462FAF
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462FAF | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #462faf; /* rgb */ color: rgb(70, 47, 175); /* oklch */ color: oklch(42.0% 0.191 282.7);
Tailwind
colors: {
custom: {
50: '#866ac8',
500: '#462faf',
950: '#000000',
},
}SCSS
$custom: #462faf; $custom-light: #866ac8; $custom-dark: #000000;
JSON
{
"hex": "#462faf",
"rgb": {
"r": 70,
"g": 47,
"b": 175
},
"hsl": {
"h": 250.781,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.42048,
"c": 0.19063,
"h": 282.7
},
"luminance": 0.0643
}Semantic roles & 50–950 ramp
primary
#462FAF
secondary
#B6C475
accent
#E147C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82