#3D107E#3D107E
#3D107E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.164 H 293.2°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #3D107E |
|---|---|
| RGB | rgb(61, 16, 126) |
| HSL | hsl(265, 77%, 28%) |
| HSV | hsv(265, 87%, 49%) |
| CMYK | cmyk(51.6%, 87.3%, 0%, 50.6%) |
| CIE-LAB | lab(19.51, 44.63, -52.42) |
| CIE-LCH | lch(19.51, 68.85, 310.41°) |
| OKLab | oklab(32.68% 0.0646 -0.1506) |
| OKLCH | oklch(32.68% 0.164 293.2) |
| XYZ | xyz(5.8746, 2.8688, 19.9788) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 1.98
Indigo
#4B0082
ΔE00 2.80
Royal Purple (survey)
#4B006E
ΔE00 4.68
Midnight Blue
#191970
ΔE00 6.09
Darkblue
#00008B
ΔE00 6.13
Royal
#0C1793
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D107E #517E10
analogous
#101A7E #3D107E #74107E
triadic
#3D107E #7E3D10 #107E3D
tetradic
#3D107E #7E101A #517E10 #107E74
square
#3D107E #7E101A #517E10 #107E74
split-complementary
#3D107E #7E7410 #1A7E10
monochromatic
#0D031B #230948 #3D107E #5717B4 #7325E3
Accessibility & contrast
On white
13.34
#3D107E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#3D107E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D107E
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D107E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D107E | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#283249
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #3d107e; /* rgb */ color: rgb(61, 16, 126); /* oklch */ color: oklch(32.7% 0.164 293.2);
Tailwind
colors: {
custom: {
50: '#7b56a4',
500: '#3d107e',
950: '#000000',
},
}SCSS
$custom: #3d107e; $custom-light: #7b56a4; $custom-dark: #000000;
JSON
{
"hex": "#3d107e",
"rgb": {
"r": 61,
"g": 16,
"b": 126
},
"hsl": {
"h": 264.545,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.32685,
"c": 0.16382,
"h": 293.2
},
"luminance": 0.02869
}Semantic roles & 50–950 ramp
primary
#3D107E
secondary
#80B436
accent
#F434A5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F