#3B165C#3B165C
#3B165C is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.8% C 0.119 H 304.1°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #3B165C |
|---|---|
| RGB | rgb(59, 22, 92) |
| HSL | hsl(272, 61%, 22%) |
| HSV | hsv(272, 76%, 36%) |
| CMYK | cmyk(35.9%, 76.1%, 0%, 63.9%) |
| CIE-LAB | lab(16.88, 32.53, -34.60) |
| CIE-LCH | lch(16.88, 47.49, 313.24°) |
| OKLab | oklab(29.79% 0.0667 -0.0984) |
| OKLCH | oklch(29.79% 0.119 304.1) |
| XYZ | xyz(4.0219, 2.2763, 10.3506) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.28
Dark Indigo
#1F0954
ΔE00 5.57
Dark Violet
#34013F
ΔE00 6.54
Dark Purple
#35063E
ΔE00 6.64
Deep Purple
#36013F
ΔE00 6.70
Plum Purple
#4E0550
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B165C #375C16
analogous
#18165C #3B165C #5C165A
triadic
#3B165C #5C3B16 #165C3B
tetradic
#3B165C #5C1816 #375C16 #165A5C
square
#3B165C #5C1816 #375C16 #165A5C
split-complementary
#3B165C #5A5C16 #165C18
monochromatic
#100619 #1B0A2B #3B165C #5B228D #7A2EBF
Accessibility & contrast
On white
14.43
#3B165C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#3B165C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B165C
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B165C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B165C | 1.00 | 14.43 | 1.46 | 14.43 |
| #FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#352737
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #3b165c; /* rgb */ color: rgb(59, 22, 92); /* oklch */ color: oklch(29.8% 0.119 304.1);
Tailwind
colors: {
custom: {
50: '#75578b',
500: '#3b165c',
950: '#000000',
},
}SCSS
$custom: #3b165c; $custom-light: #75578b; $custom-dark: #000000;
JSON
{
"hex": "#3b165c",
"rgb": {
"r": 59,
"g": 22,
"b": 92
},
"hsl": {
"h": 271.714,
"s": 61.404,
"l": 22.353
},
"oklch": {
"l": 0.29786,
"c": 0.1189,
"h": 304.1
},
"luminance": 0.02276
}Semantic roles & 50–950 ramp
primary
#3B165C
secondary
#64933B
accent
#E5438F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D