#46228F#46228F
#46228F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.166 H 291.2°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #46228F |
|---|---|
| RGB | rgb(70, 34, 143) |
| HSL | hsl(260, 62%, 35%) |
| HSV | hsv(260, 76%, 56%) |
| CMYK | cmyk(51%, 76.2%, 0%, 43.9%) |
| CIE-LAB | lab(25.04, 42.71, -53.97) |
| CIE-LCH | lch(25.04, 68.83, 308.36°) |
| OKLab | oklab(37.29% 0.0601 -0.155) |
| OKLCH | oklch(37.29% 0.166 291.2) |
| XYZ | xyz(8.0543, 4.4290, 26.4118) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.21
Indigo Blue
#3A18B1
ΔE00 5.31
Indigo (survey)
#380282
ΔE00 5.45
Royal
#0C1793
ΔE00 6.36
Rebeccapurple
#663399
ΔE00 6.77
Ultramarine
#2000B1
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46228F #6B8F22
analogous
#22348F #46228F #7D228F
triadic
#46228F #8F4622 #228F46
tetradic
#46228F #8F2234 #6B8F22 #228F7D
square
#46228F #8F2234 #6B8F22 #228F7D
split-complementary
#46228F #8F7D22 #348F22
monochromatic
#160A2C #2E165E #46228F #5E2EC0 #8055D7
Accessibility & contrast
On white
11.14
#46228F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#46228F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46228F
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46228F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46228F | 1.00 | 11.14 | 1.89 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#2D4057
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #46228f; /* rgb */ color: rgb(70, 34, 143); /* oklch */ color: oklch(37.3% 0.166 291.2);
Tailwind
colors: {
custom: {
50: '#8161b1',
500: '#46228f',
950: '#000000',
},
}SCSS
$custom: #46228f; $custom-light: #8161b1; $custom-dark: #000000;
JSON
{
"hex": "#46228f",
"rgb": {
"r": 70,
"g": 34,
"b": 143
},
"hsl": {
"h": 259.817,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.37294,
"c": 0.1662,
"h": 291.2
},
"luminance": 0.04429
}Semantic roles & 50–950 ramp
primary
#46228F
secondary
#98BA52
accent
#E543AF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980