#3A0F5D#3A0F5D
#3A0F5D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.128 H 304.2°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3A0F5D |
|---|---|
| RGB | rgb(58, 15, 93) |
| HSL | hsl(273, 72%, 21%) |
| HSV | hsv(273, 84%, 36%) |
| CMYK | cmyk(37.6%, 83.9%, 0%, 63.5%) |
| CIE-LAB | lab(15.65, 35.90, -37.26) |
| CIE-LCH | lch(15.65, 51.74, 313.93°) |
| OKLab | oklab(28.92% 0.0722 -0.1062) |
| OKLCH | oklch(28.92% 0.128 304.2) |
| XYZ | xyz(3.8911, 2.0315, 10.5409) |
| Luminance | 0.0203 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.32
Dark Indigo
#1F0954
ΔE00 4.98
Dark Violet
#34013F
ΔE00 6.37
Deep Purple
#36013F
ΔE00 6.56
Indigo
#4B0082
ΔE00 6.71
Plum Purple
#4E0550
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A0F5D #325D0F
analogous
#130F5D #3A0F5D #5D0F59
triadic
#3A0F5D #5D3A0F #0F5D3A
tetradic
#3A0F5D #5D130F #325D0F #0F595D
square
#3A0F5D #5D130F #325D0F #0F595D
split-complementary
#3A0F5D #595D0F #0F5D13
monochromatic
#10041A #190628 #3A0F5D #5B1792 #7C20C6
Accessibility & contrast
On white
14.93
#3A0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#3A0F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A0F5D
14.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A0F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A0F5D | 1.00 | 14.93 | 1.41 | 14.93 |
| #FFFFFF | 14.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#332436
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #3a0f5d; /* rgb */ color: rgb(58, 15, 93); /* oklch */ color: oklch(28.9% 0.128 304.2);
Tailwind
colors: {
custom: {
50: '#74538c',
500: '#3a0f5d',
950: '#000000',
},
}SCSS
$custom: #3a0f5d; $custom-light: #74538c; $custom-dark: #000000;
JSON
{
"hex": "#3a0f5d",
"rgb": {
"r": 58,
"g": 15,
"b": 93
},
"hsl": {
"h": 273.077,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.28918,
"c": 0.12843,
"h": 304.2
},
"luminance": 0.02032
}Semantic roles & 50–950 ramp
primary
#3A0F5D
secondary
#5F9631
accent
#EF398B
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D