#3A0532#3A0532

#3A0532 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.4% C 0.098 H 335.3°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#3A0532
RGBrgb(58, 5, 50)
HSLhsl(309, 84%, 12%)
HSVhsv(309, 91%, 23%)
CMYKcmyk(0%, 91.4%, 13.8%, 77.3%)
CIE-LABlab(10.84, 30.49, -15.00)
CIE-LCHlch(10.84, 33.98, 333.81°)
OKLaboklab(24.45% 0.0892 -0.041)
OKLCHoklch(24.45% 0.098 335.3)
XYZxyz(2.3750, 1.2386, 3.1310)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0532 #053A0D
analogous
#28053A #3A0532 #3A0517
triadic
#3A0532 #323A05 #05323A
tetradic
#3A0532 #3A2805 #053A0D #05173A
square
#3A0532 #3A2805 #053A0D #05173A
split-complementary
#3A0532 #173A05 #053A28
monochromatic
#1C0218 #1C0218 #3A0532 #720A63 #AB0F93

Accessibility & contrast

On white

16.83
#3A0532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0532
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0532#FFFFFF#000000##FFFFFF
##3A05321.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051833
Deuteranopia (green-blind)
#192031
Tritanopia (blue-blind)
#3D091B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3a0532;
/* rgb */ color: rgb(58, 5, 50);
/* oklch */ color: oklch(24.4% 0.098 335.3);
Tailwind
colors: {
  custom: {
    50: '#734c6a',
    500: '#3a0532',
    950: '#000000',
  },
}
SCSS
$custom: #3a0532;
$custom-light: #734c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0532",
  "rgb": {
    "r": 58,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 309.057,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24446,
    "c": 0.09822,
    "h": 335.3
  },
  "luminance": 0.01238
}

Semantic roles & 50–950 ramp

primary
#3A0532
secondary
#207B2E
accent
#FA4C2D
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A0532

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

Preview Lab → · Contrast checker → · Palette generator →

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