#3A0D5F#3A0D5F
#3A0D5F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.133 H 303.5°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3A0D5F |
|---|---|
| RGB | rgb(58, 13, 95) |
| HSL | hsl(273, 76%, 21%) |
| HSV | hsv(273, 86%, 37%) |
| CMYK | cmyk(38.9%, 86.3%, 0%, 62.7%) |
| CIE-LAB | lab(15.56, 37.22, -38.75) |
| CIE-LCH | lch(15.56, 53.73, 313.85°) |
| OKLab | oklab(28.91% 0.0733 -0.1106) |
| OKLCH | oklch(28.91% 0.133 303.5) |
| XYZ | xyz(3.9539, 2.0136, 11.0046) |
| Luminance | 0.0201 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.93
Dark Indigo
#1F0954
ΔE00 4.92
Indigo
#4B0082
ΔE00 6.24
Indigo (survey)
#380282
ΔE00 6.45
Dark Violet
#34013F
ΔE00 6.70
Deep Purple
#36013F
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A0D5F #325F0D
analogous
#110D5F #3A0D5F #5F0D5B
triadic
#3A0D5F #5F3A0D #0D5F3A
tetradic
#3A0D5F #5F110D #325F0D #0D5B5F
square
#3A0D5F #5F110D #325F0D #0D5B5F
split-complementary
#3A0D5F #5B5F0D #0D5F11
monochromatic
#10041B #190629 #3A0D5F #5B1495 #7C1CCB
Accessibility & contrast
On white
14.97
#3A0D5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#3A0D5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A0D5F
14.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A0D5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A0D5F | 1.00 | 14.97 | 1.40 | 14.97 |
| #FFFFFF | 14.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#322437
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #3a0d5f; /* rgb */ color: rgb(58, 13, 95); /* oklch */ color: oklch(28.9% 0.133 303.5);
Tailwind
colors: {
custom: {
50: '#75528d',
500: '#3a0d5f',
950: '#000000',
},
}SCSS
$custom: #3a0d5f; $custom-light: #75528d; $custom-dark: #000000;
JSON
{
"hex": "#3a0d5f",
"rgb": {
"r": 58,
"g": 13,
"b": 95
},
"hsl": {
"h": 272.927,
"s": 75.926,
"l": 21.176
},
"oklch": {
"l": 0.28911,
"c": 0.13266,
"h": 303.5
},
"luminance": 0.02014
}Semantic roles & 50–950 ramp
primary
#3A0D5F
secondary
#5F992F
accent
#F3358B
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D