#3E175F#3E175F
#3E175F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.122 H 304.9°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3E175F |
|---|---|
| RGB | rgb(62, 23, 95) |
| HSL | hsl(273, 61%, 23%) |
| HSV | hsv(273, 76%, 37%) |
| CMYK | cmyk(34.7%, 75.8%, 0%, 62.7%) |
| CIE-LAB | lab(17.75, 33.48, -35.15) |
| CIE-LCH | lch(17.75, 48.55, 313.60°) |
| OKLab | oklab(30.58% 0.0697 -0.0999) |
| OKLCH | oklch(30.58% 0.122 304.9) |
| XYZ | xyz(4.3581, 2.4632, 11.0701) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.83
Dark Indigo
#1F0954
ΔE00 6.08
Plum Purple
#4E0550
ΔE00 6.61
Dark Violet
#34013F
ΔE00 6.96
Dark Purple
#35063E
ΔE00 7.06
Indigo
#4B0082
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E175F #385F17
analogous
#1A175F #3E175F #5F175C
triadic
#3E175F #5F3E17 #175F3E
tetradic
#3E175F #5F1A17 #385F17 #175C5F
square
#3E175F #5F1A17 #385F17 #175C5F
split-complementary
#3E175F #5C5F17 #175F1A
monochromatic
#100619 #1E0B2E #3E175F #5E2390 #7E2FC2
Accessibility & contrast
On white
14.07
#3E175F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#3E175F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E175F
14.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E175F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E175F | 1.00 | 14.07 | 1.49 | 14.07 |
| #FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#002C5D
Tritanopia (blue-blind)
#382839
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #3e175f; /* rgb */ color: rgb(62, 23, 95); /* oklch */ color: oklch(30.6% 0.122 304.9);
Tailwind
colors: {
custom: {
50: '#77588d',
500: '#3e175f',
950: '#000000',
},
}SCSS
$custom: #3e175f; $custom-light: #77588d; $custom-dark: #000000;
JSON
{
"hex": "#3e175f",
"rgb": {
"r": 62,
"g": 23,
"b": 95
},
"hsl": {
"h": 272.5,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.30583,
"c": 0.12185,
"h": 304.9
},
"luminance": 0.02463
}Semantic roles & 50–950 ramp
primary
#3E175F
secondary
#65963C
accent
#E4448D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D