#462F72#462F72
#462F72 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.8% C 0.111 H 296.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #462F72 |
|---|---|
| RGB | rgb(70, 47, 114) |
| HSL | hsl(261, 42%, 32%) |
| HSV | hsv(261, 59%, 45%) |
| CMYK | cmyk(38.6%, 58.8%, 0%, 55.3%) |
| CIE-LAB | lab(25.41, 26.79, -35.12) |
| CIE-LCH | lch(25.41, 44.17, 307.34°) |
| OKLab | oklab(36.82% 0.0494 -0.0996) |
| OKLCH | oklch(36.82% 0.111 296.4) |
| XYZ | xyz(6.5788, 4.5499, 16.4479) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.78
Blueberry
#464196
ΔE00 8.06
Rebeccapurple
#663399
ΔE00 8.32
Midnight Blue
#191970
ΔE00 8.88
Royal Purple (survey)
#4B006E
ΔE00 9.15
Indigo
#4B0082
ΔE00 9.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462F72 #5B722F
analogous
#2F3A72 #462F72 #682F72
triadic
#462F72 #72462F #2F7246
tetradic
#462F72 #722F3A #5B722F #2F7268
square
#462F72 #722F3A #5B722F #2F7268
split-complementary
#462F72 #72682F #3A722F
monochromatic
#110B1B #2B1D47 #462F72 #61419D #7F5FBD
Accessibility & contrast
On white
10.99
#462F72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#462F72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462F72
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462F72 | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F3D74
Deuteranopia (green-blind)
#173B70
Tritanopia (blue-blind)
#3C3D4B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #462f72; /* rgb */ color: rgb(70, 47, 114); /* oklch */ color: oklch(36.8% 0.111 296.4);
Tailwind
colors: {
custom: {
50: '#7d689b',
500: '#462f72',
950: '#000000',
},
}SCSS
$custom: #462f72; $custom-light: #7d689b; $custom-dark: #000000;
JSON
{
"hex": "#462f72",
"rgb": {
"r": 70,
"g": 47,
"b": 114
},
"hsl": {
"h": 260.597,
"s": 41.615,
"l": 31.569
},
"oklch": {
"l": 0.36823,
"c": 0.11116,
"h": 296.4
},
"luminance": 0.0455
}Semantic roles & 50–950 ramp
primary
#462F72
secondary
#8AA35A
accent
#D156A7
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E