#3E2299#3E2299
#3E2299 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.179 H 284.6°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2299 |
|---|---|
| RGB | rgb(62, 34, 153) |
| HSL | hsl(254, 64%, 37%) |
| HSV | hsv(254, 78%, 60%) |
| CMYK | cmyk(59.5%, 77.8%, 0%, 40%) |
| CIE-LAB | lab(25.16, 44.47, -59.97) |
| CIE-LCH | lch(25.16, 74.66, 306.56°) |
| OKLab | oklab(37.47% 0.0449 -0.1728) |
| OKLCH | oklch(37.47% 0.179 284.6) |
| XYZ | xyz(8.3066, 4.4676, 30.5554) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.59
Royal
#0C1793
ΔE00 5.06
Ultramarine
#2000B1
ΔE00 5.65
Cobalt Blue
#030AA7
ΔE00 5.67
Indigo (survey)
#380282
ΔE00 5.93
Royal Blue (survey)
#0504AA
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2299 #7D9922
analogous
#224299 #3E2299 #7A2299
triadic
#3E2299 #993E22 #22993E
tetradic
#3E2299 #992242 #7D9922 #22997A
square
#3E2299 #992242 #7D9922 #22997A
split-complementary
#3E2299 #997A22 #429922
monochromatic
#150C35 #2A1767 #3E2299 #522DCB #795BDB
Accessibility & contrast
On white
11.09
#3E2299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3E2299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2299
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2299 | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#08445C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3e2299; /* rgb */ color: rgb(62, 34, 153); /* oklch */ color: oklch(37.5% 0.179 284.6);
Tailwind
colors: {
custom: {
50: '#7f61b8',
500: '#3e2299',
950: '#000000',
},
}SCSS
$custom: #3e2299; $custom-light: #7f61b8; $custom-dark: #000000;
JSON
{
"hex": "#3e2299",
"rgb": {
"r": 62,
"g": 34,
"b": 153
},
"hsl": {
"h": 254.118,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.37471,
"c": 0.17855,
"h": 284.6
},
"luminance": 0.04468
}Semantic roles & 50–950 ramp
primary
#3E2299
secondary
#A7BF58
accent
#E741C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980