#3D165C#3D165C
#3D165C is a dark, moderate violet. Relative luminance 0.023; OKLCH L 30.1% C 0.119 H 305.8°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #3D165C |
|---|---|
| RGB | rgb(61, 22, 92) |
| HSL | hsl(273, 61%, 22%) |
| HSV | hsv(273, 76%, 36%) |
| CMYK | cmyk(33.7%, 76.1%, 0%, 63.9%) |
| CIE-LAB | lab(17.17, 32.98, -34.10) |
| CIE-LCH | lch(17.17, 47.44, 314.04°) |
| OKLab | oklab(30.06% 0.0699 -0.0969) |
| OKLCH | oklch(30.06% 0.119 305.8) |
| XYZ | xyz(4.1427, 2.3387, 10.3563) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.12
Dark Indigo
#1F0954
ΔE00 5.97
Plum Purple
#4E0550
ΔE00 6.31
Dark Violet
#34013F
ΔE00 6.41
Dark Purple
#35063E
ΔE00 6.49
Deep Purple
#36013F
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D165C #355C16
analogous
#1A165C #3D165C #5C1658
triadic
#3D165C #5C3D16 #165C3D
tetradic
#3D165C #5C1A16 #355C16 #16585C
square
#3D165C #5C1A16 #355C16 #16585C
split-complementary
#3D165C #585C16 #165C1A
monochromatic
#100619 #1C0A2B #3D165C #5E228D #7E2EBF
Accessibility & contrast
On white
14.31
#3D165C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#3D165C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D165C
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D165C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D165C | 1.00 | 14.31 | 1.47 | 14.31 |
| #FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#372637
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #3d165c; /* rgb */ color: rgb(61, 22, 92); /* oklch */ color: oklch(30.1% 0.119 305.8);
Tailwind
colors: {
custom: {
50: '#76578b',
500: '#3d165c',
950: '#000000',
},
}SCSS
$custom: #3d165c; $custom-light: #76578b; $custom-dark: #000000;
JSON
{
"hex": "#3d165c",
"rgb": {
"r": 61,
"g": 22,
"b": 92
},
"hsl": {
"h": 273.429,
"s": 61.404,
"l": 22.353
},
"oklch": {
"l": 0.30061,
"c": 0.11943,
"h": 305.8
},
"luminance": 0.02339
}Semantic roles & 50–950 ramp
primary
#3D165C
secondary
#62933B
accent
#E5438B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D