#3A0436#3A0436

#3A0436 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.103 H 331.6°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#3A0436
RGBrgb(58, 4, 54)
HSLhsl(304, 87%, 12%)
HSVhsv(304, 93%, 23%)
CMYKcmyk(0%, 93.1%, 6.9%, 77.3%)
CIE-LABlab(10.94, 31.65, -17.75)
CIE-LCHlch(10.94, 36.29, 330.72°)
OKLaboklab(24.6% 0.0907 -0.049)
OKLCHoklch(24.6% 0.103 331.6)
XYZxyz(2.4542, 1.2529, 3.6019)
Luminance0.0125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0436 #043A08
analogous
#23043A #3A0436 #3A041B
triadic
#3A0436 #363A04 #04363A
tetradic
#3A0436 #3A2304 #043A08 #041B3A
square
#3A0436 #3A2304 #043A08 #041B3A
split-complementary
#3A0436 #1B3A04 #043A23
monochromatic
#1D021B #1D021B #3A0436 #73086B #AD0CA1

Accessibility & contrast

On white

16.79
#3A0436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#3A0436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0436
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0436#FFFFFF#000000##FFFFFF
##3A04361.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011937
Deuteranopia (green-blind)
#162035
Tritanopia (blue-blind)
#3D0B1D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3a0436;
/* rgb */ color: rgb(58, 4, 54);
/* oklch */ color: oklch(24.6% 0.103 331.6);
Tailwind
colors: {
  custom: {
    50: '#734c6d',
    500: '#3a0436',
    950: '#000000',
  },
}
SCSS
$custom: #3a0436;
$custom-light: #734c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0436",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 304.444,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24604,
    "c": 0.10303,
    "h": 331.6
  },
  "luminance": 0.01253
}

Semantic roles & 50–950 ramp

primary
#3A0436
secondary
#1E7C25
accent
#FD3A2B
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080107
muted
#7B777A

Preview Lab

Preview with #3A0436

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

Preview Lab → · Contrast checker → · Palette generator →

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