#3D2294#3D2294
#3D2294 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.173 H 285.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2294 |
|---|---|
| RGB | rgb(61, 34, 148) |
| HSL | hsl(254, 63%, 36%) |
| HSV | hsv(254, 77%, 58%) |
| CMYK | cmyk(58.8%, 77%, 0%, 42%) |
| CIE-LAB | lab(24.56, 42.84, -57.90) |
| CIE-LCH | lch(24.56, 72.02, 306.50°) |
| OKLab | oklab(36.87% 0.0448 -0.1668) |
| OKLCH | oklch(36.87% 0.173 285) |
| XYZ | xyz(7.8402, 4.2738, 28.4230) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.27
Royal
#0C1793
ΔE00 4.91
Indigo (survey)
#380282
ΔE00 5.56
Cobalt Blue
#030AA7
ΔE00 5.89
Ultramarine
#2000B1
ΔE00 6.05
Indigo
#4B0082
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2294 #799422
analogous
#224094 #3D2294 #762294
triadic
#3D2294 #943D22 #22943D
tetradic
#3D2294 #942240 #799422 #229476
square
#3D2294 #942240 #799422 #229476
split-complementary
#3D2294 #947622 #409422
monochromatic
#140B30 #281762 #3D2294 #522DC6 #7658D9
Accessibility & contrast
On white
11.32
#3D2294 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3D2294 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2294
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2294 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2294 | 1.00 | 11.32 | 1.85 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#0E425A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3d2294; /* rgb */ color: rgb(61, 34, 148); /* oklch */ color: oklch(36.9% 0.173 285.0);
Tailwind
colors: {
custom: {
50: '#7d61b5',
500: '#3d2294',
950: '#000000',
},
}SCSS
$custom: #3d2294; $custom-light: #7d61b5; $custom-dark: #000000;
JSON
{
"hex": "#3d2294",
"rgb": {
"r": 61,
"g": 34,
"b": 148
},
"hsl": {
"h": 254.211,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.36872,
"c": 0.17267,
"h": 285
},
"luminance": 0.04274
}Semantic roles & 50–950 ramp
primary
#3D2294
secondary
#A4BD55
accent
#E642BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980