#3A0439#3A0439

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

Color values

HEX#3A0439
RGBrgb(58, 4, 57)
HSLhsl(301, 87%, 12%)
HSVhsv(301, 93%, 23%)
CMYKcmyk(0%, 93.1%, 1.7%, 77.3%)
CIE-LABlab(11.15, 32.21, -19.59)
CIE-LCHlch(11.15, 37.70, 328.69°)
OKLaboklab(24.82% 0.0905 -0.0543)
OKLCHoklch(24.82% 0.106 329)
XYZxyz(2.5268, 1.2820, 3.9845)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0439 #043A05
analogous
#20043A #3A0439 #3A041E
triadic
#3A0439 #393A04 #04393A
tetradic
#3A0439 #3A2004 #043A05 #041E3A
square
#3A0439 #3A2004 #043A05 #041E3A
split-complementary
#3A0439 #1E3A04 #043A20
monochromatic
#1D021C #1D021C #3A0439 #730871 #AD0CAA

Accessibility & contrast

On white

16.71
#3A0439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0439
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0439#FFFFFF#000000##FFFFFF
##3A04391.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a0439;
/* rgb */ color: rgb(58, 4, 57);
/* oklch */ color: oklch(24.8% 0.106 329.0);
Tailwind
colors: {
  custom: {
    50: '#734c6f',
    500: '#3a0439',
    950: '#000000',
  },
}
SCSS
$custom: #3a0439;
$custom-light: #734c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0439",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 301.111,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24817,
    "c": 0.10558,
    "h": 329
  },
  "luminance": 0.01282
}

Semantic roles & 50–950 ramp

primary
#3A0439
secondary
#1E7C20
accent
#FD2E2B
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #3A0439

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

Preview Lab → · Contrast checker → · Palette generator →

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