#3A0539#3A0539

#3A0539 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.9% C 0.104 H 329.0°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#3A0539
RGBrgb(58, 5, 57)
HSLhsl(301, 84%, 12%)
HSVhsv(301, 91%, 23%)
CMYKcmyk(0%, 91.4%, 1.7%, 77.3%)
CIE-LABlab(11.30, 31.76, -19.35)
CIE-LCHlch(11.30, 37.19, 328.65°)
OKLaboklab(24.93% 0.0893 -0.0536)
OKLCHoklch(24.93% 0.104 329)
XYZxyz(2.5377, 1.3037, 3.9881)
Luminance0.0130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0539 #053A06
analogous
#21053A #3A0539 #3A051F
triadic
#3A0539 #393A05 #05393A
tetradic
#3A0539 #3A2105 #053A06 #051F3A
square
#3A0539 #3A2105 #053A06 #051F3A
split-complementary
#3A0539 #1F3A05 #053A21
monochromatic
#1C021C #1C021C #3A0539 #720A70 #AB0FA8

Accessibility & contrast

On white

16.66
#3A0539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#3A0539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0539
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0539#FFFFFF#000000##FFFFFF
##3A05391.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3A
Deuteranopia (green-blind)
#152038
Tritanopia (blue-blind)
#3C0D1F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0539;
/* rgb */ color: rgb(58, 5, 57);
/* oklch */ color: oklch(24.9% 0.104 329.0);
Tailwind
colors: {
  custom: {
    50: '#734d6f',
    500: '#3a0539',
    950: '#000000',
  },
}
SCSS
$custom: #3a0539;
$custom-light: #734d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0539",
  "rgb": {
    "r": 58,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 301.132,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24925,
    "c": 0.10414,
    "h": 329
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#3A0539
secondary
#207B22
accent
#FA312D
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #3A0539

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3A0539 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva