#3D188D#3D188D
#3D188D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.174 H 288.0°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3D188D |
|---|---|
| RGB | rgb(61, 24, 141) |
| HSL | hsl(259, 71%, 32%) |
| HSV | hsv(259, 83%, 55%) |
| CMYK | cmyk(56.7%, 83%, 0%, 44.7%) |
| CIE-LAB | lab(22.19, 45.55, -57.45) |
| CIE-LCH | lch(22.19, 73.32, 308.41°) |
| OKLab | oklab(35.01% 0.0539 -0.1654) |
| OKLCH | oklch(35.01% 0.174 288) |
| XYZ | xyz(7.0574, 3.5681, 25.5110) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.39
Indigo
#4B0082
ΔE00 4.21
Royal
#0C1793
ΔE00 4.76
Indigo Blue
#3A18B1
ΔE00 5.05
Cobalt Blue
#030AA7
ΔE00 5.62
Ultramarine
#2000B1
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D188D #688D18
analogous
#182E8D #3D188D #77188D
triadic
#3D188D #8D3D18 #188D3D
tetradic
#3D188D #8D182E #688D18 #188D77
square
#3D188D #8D182E #688D18 #188D77
split-complementary
#3D188D #8D7718 #2E8D18
monochromatic
#100624 #260F59 #3D188D #5421C1 #7341DF
Accessibility & contrast
On white
12.25
#3D188D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#3D188D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D188D
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D188D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D188D | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#1A3B53
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3d188d; /* rgb */ color: rgb(61, 24, 141); /* oklch */ color: oklch(35.0% 0.174 288.0);
Tailwind
colors: {
custom: {
50: '#7d5baf',
500: '#3d188d',
950: '#000000',
},
}SCSS
$custom: #3d188d; $custom-light: #7d5baf; $custom-dark: #000000;
JSON
{
"hex": "#3d188d",
"rgb": {
"r": 61,
"g": 24,
"b": 141
},
"hsl": {
"h": 258.974,
"s": 70.909,
"l": 32.353
},
"oklch": {
"l": 0.35006,
"c": 0.17392,
"h": 288
},
"luminance": 0.03568
}Semantic roles & 50–950 ramp
primary
#3D188D
secondary
#97BF42
accent
#EE3AB5
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0411
muted
#7C7980