#3A0434#3A0434

#3A0434 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.5% C 0.101 H 333.4°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#3A0434
RGBrgb(58, 4, 52)
HSLhsl(307, 87%, 12%)
HSVhsv(307, 93%, 23%)
CMYKcmyk(0%, 93.1%, 10.3%, 77.3%)
CIE-LABlab(10.81, 31.30, -16.51)
CIE-LCHlch(10.81, 35.38, 332.19°)
OKLaboklab(24.47% 0.0907 -0.0454)
OKLCHoklch(24.47% 0.101 333.4)
XYZxyz(2.4082, 1.2345, 3.3596)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0434 #043A0A
analogous
#25043A #3A0434 #3A0419
triadic
#3A0434 #343A04 #04343A
tetradic
#3A0434 #3A2504 #043A0A #04193A
square
#3A0434 #3A2504 #043A0A #04193A
split-complementary
#3A0434 #193A04 #043A25
monochromatic
#1D021A #1D021A #3A0434 #730867 #AD0C9B

Accessibility & contrast

On white

16.84
#3A0434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0434
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0434#FFFFFF#000000##FFFFFF
##3A04341.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021835
Deuteranopia (green-blind)
#172033
Tritanopia (blue-blind)
#3D091C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3a0434;
/* rgb */ color: rgb(58, 4, 52);
/* oklch */ color: oklch(24.5% 0.101 333.4);
Tailwind
colors: {
  custom: {
    50: '#734c6b',
    500: '#3a0434',
    950: '#000000',
  },
}
SCSS
$custom: #3a0434;
$custom-light: #734c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0434",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 52
  },
  "hsl": {
    "h": 306.667,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24467,
    "c": 0.10137,
    "h": 333.4
  },
  "luminance": 0.01234
}

Semantic roles & 50–950 ramp

primary
#3A0434
secondary
#1E7C28
accent
#FD422B
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A0434

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

Preview Lab → · Contrast checker → · Palette generator →

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