#3D2592#3D2592
#3D2592 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.167 H 284.9°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2592 |
|---|---|
| RGB | rgb(61, 37, 146) |
| HSL | hsl(253, 60%, 36%) |
| HSV | hsv(253, 75%, 57%) |
| CMYK | cmyk(58.2%, 74.7%, 0%, 42.7%) |
| CIE-LAB | lab(24.92, 40.64, -56.06) |
| CIE-LCH | lch(24.92, 69.24, 305.94°) |
| OKLab | oklab(37.07% 0.043 -0.1614) |
| OKLCH | oklch(37.07% 0.167 284.9) |
| XYZ | xyz(7.7728, 4.3901, 27.6264) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.82
Royal
#0C1793
ΔE00 5.22
Indigo (survey)
#380282
ΔE00 6.06
Cobalt Blue
#030AA7
ΔE00 6.45
Indigo
#4B0082
ΔE00 6.60
Ultramarine
#2000B1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2592 #7A9225
analogous
#254392 #3D2592 #732592
triadic
#3D2592 #923D25 #25923D
tetradic
#3D2592 #922543 #7A9225 #259273
square
#3D2592 #922543 #7A9225 #259273
split-complementary
#3D2592 #927325 #439225
monochromatic
#140C30 #291961 #3D2592 #5131C3 #775CD6
Accessibility & contrast
On white
11.18
#3D2592 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3D2592 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2592
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2592 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2592 | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#114359
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3d2592; /* rgb */ color: rgb(61, 37, 146); /* oklch */ color: oklch(37.1% 0.167 284.9);
Tailwind
colors: {
custom: {
50: '#7d62b3',
500: '#3d2592',
950: '#000000',
},
}SCSS
$custom: #3d2592; $custom-light: #7d62b3; $custom-dark: #000000;
JSON
{
"hex": "#3d2592",
"rgb": {
"r": 61,
"g": 37,
"b": 146
},
"hsl": {
"h": 253.211,
"s": 59.563,
"l": 35.882
},
"oklch": {
"l": 0.37069,
"c": 0.16703,
"h": 284.9
},
"luminance": 0.04391
}Semantic roles & 50–950 ramp
primary
#3D2592
secondary
#A5BA58
accent
#E345C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980