#3E2298#3E2298
#3E2298 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.177 H 284.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2298 |
|---|---|
| RGB | rgb(62, 34, 152) |
| HSL | hsl(254, 63%, 36%) |
| HSV | hsv(254, 78%, 60%) |
| CMYK | cmyk(59.2%, 77.6%, 0%, 40.4%) |
| CIE-LAB | lab(25.06, 44.17, -59.53) |
| CIE-LCH | lch(25.06, 74.13, 306.58°) |
| OKLab | oklab(37.37% 0.0452 -0.1715) |
| OKLCH | oklch(37.37% 0.177 284.8) |
| XYZ | xyz(8.2244, 4.4347, 30.1223) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.73
Royal
#0C1793
ΔE00 5.04
Cobalt Blue
#030AA7
ΔE00 5.73
Ultramarine
#2000B1
ΔE00 5.74
Indigo (survey)
#380282
ΔE00 5.85
Royal Blue (survey)
#0504AA
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2298 #7C9822
analogous
#224198 #3E2298 #792298
triadic
#3E2298 #983E22 #22983E
tetradic
#3E2298 #982241 #7C9822 #229879
square
#3E2298 #982241 #7C9822 #229879
split-complementary
#3E2298 #987922 #419822
monochromatic
#150C34 #2A1766 #3E2298 #522DCA #795ADA
Accessibility & contrast
On white
11.13
#3E2298 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3E2298 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2298
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2298 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2298 | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003896
Tritanopia (blue-blind)
#0A445C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e2298; /* rgb */ color: rgb(62, 34, 152); /* oklch */ color: oklch(37.4% 0.177 284.8);
Tailwind
colors: {
custom: {
50: '#7f61b7',
500: '#3e2298',
950: '#000000',
},
}SCSS
$custom: #3e2298; $custom-light: #7f61b7; $custom-dark: #000000;
JSON
{
"hex": "#3e2298",
"rgb": {
"r": 62,
"g": 34,
"b": 152
},
"hsl": {
"h": 254.237,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.3737,
"c": 0.17736,
"h": 284.8
},
"luminance": 0.04435
}Semantic roles & 50–950 ramp
primary
#3E2298
secondary
#A6BE57
accent
#E641BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980