#3C175F#3C175F
#3C175F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.121 H 303.3°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3C175F |
|---|---|
| RGB | rgb(60, 23, 95) |
| HSL | hsl(271, 61%, 23%) |
| HSV | hsv(271, 76%, 37%) |
| CMYK | cmyk(36.8%, 75.8%, 0%, 62.7%) |
| CIE-LAB | lab(17.46, 33.04, -35.64) |
| CIE-LCH | lch(17.46, 48.60, 312.83°) |
| OKLab | oklab(30.31% 0.0666 -0.1014) |
| OKLCH | oklch(30.31% 0.121 303.3) |
| XYZ | xyz(4.2350, 2.3997, 11.0643) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.01
Dark Indigo
#1F0954
ΔE00 5.69
Plum Purple
#4E0550
ΔE00 7.01
Dark Violet
#34013F
ΔE00 7.08
Indigo
#4B0082
ΔE00 7.09
Dark Purple
#35063E
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C175F #3A5F17
analogous
#18175F #3C175F #5F175E
triadic
#3C175F #5F3C17 #175F3C
tetradic
#3C175F #5F1817 #3A5F17 #175E5F
square
#3C175F #5F1817 #3A5F17 #175E5F
split-complementary
#3C175F #5E5F17 #175F18
monochromatic
#100619 #1D0B2E #3C175F #5B2390 #7A2FC2
Accessibility & contrast
On white
14.19
#3C175F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#3C175F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C175F
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C175F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C175F | 1.00 | 14.19 | 1.48 | 14.19 |
| #FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#352839
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #3c175f; /* rgb */ color: rgb(60, 23, 95); /* oklch */ color: oklch(30.3% 0.121 303.3);
Tailwind
colors: {
custom: {
50: '#75588d',
500: '#3c175f',
950: '#000000',
},
}SCSS
$custom: #3c175f; $custom-light: #75588d; $custom-dark: #000000;
JSON
{
"hex": "#3c175f",
"rgb": {
"r": 60,
"g": 23,
"b": 95
},
"hsl": {
"h": 270.833,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.30311,
"c": 0.12136,
"h": 303.3
},
"luminance": 0.024
}Semantic roles & 50–950 ramp
primary
#3C175F
secondary
#68963C
accent
#E44492
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D