#3D2492#3D2492
#3D2492 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.168 H 285.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2492 |
|---|---|
| RGB | rgb(61, 36, 146) |
| HSL | hsl(254, 60%, 36%) |
| HSV | hsv(254, 75%, 57%) |
| CMYK | cmyk(58.2%, 75.3%, 0%, 42.7%) |
| CIE-LAB | lab(24.73, 41.18, -56.38) |
| CIE-LCH | lch(24.73, 69.82, 306.15°) |
| OKLab | oklab(36.93% 0.0438 -0.1623) |
| OKLCH | oklch(36.93% 0.168 285.1) |
| XYZ | xyz(7.7421, 4.3287, 27.6161) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.72
Royal
#0C1793
ΔE00 5.12
Indigo (survey)
#380282
ΔE00 5.85
Cobalt Blue
#030AA7
ΔE00 6.31
Indigo
#4B0082
ΔE00 6.41
Ultramarine
#2000B1
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2492 #799224
analogous
#244292 #3D2492 #742492
triadic
#3D2492 #923D24 #24923D
tetradic
#3D2492 #922442 #799224 #249274
square
#3D2492 #922442 #799224 #249274
split-complementary
#3D2492 #927424 #429224
monochromatic
#140C30 #281861 #3D2492 #5230C3 #765AD6
Accessibility & contrast
On white
11.26
#3D2492 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3D2492 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2492
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2492 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2492 | 1.00 | 11.26 | 1.87 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#124259
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3d2492; /* rgb */ color: rgb(61, 36, 146); /* oklch */ color: oklch(36.9% 0.168 285.1);
Tailwind
colors: {
custom: {
50: '#7d62b3',
500: '#3d2492',
950: '#000000',
},
}SCSS
$custom: #3d2492; $custom-light: #7d62b3; $custom-dark: #000000;
JSON
{
"hex": "#3d2492",
"rgb": {
"r": 61,
"g": 36,
"b": 146
},
"hsl": {
"h": 253.636,
"s": 60.44,
"l": 35.686
},
"oklch": {
"l": 0.36933,
"c": 0.16813,
"h": 285.1
},
"luminance": 0.04329
}Semantic roles & 50–950 ramp
primary
#3D2492
secondary
#A4BB57
accent
#E444BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980