#3A0537#3A0537

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

Color values

HEX#3A0537
RGBrgb(58, 5, 55)
HSLhsl(303, 84%, 12%)
HSVhsv(303, 91%, 23%)
CMYKcmyk(0%, 91.4%, 5.2%, 77.3%)
CIE-LABlab(11.16, 31.39, -18.12)
CIE-LCHlch(11.16, 36.25, 330.00°)
OKLaboklab(24.78% 0.0893 -0.0501)
OKLCHoklch(24.78% 0.102 330.7)
XYZxyz(2.4888, 1.2841, 3.7305)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0537 #053A08
analogous
#22053A #3A0537 #3A051D
triadic
#3A0537 #373A05 #05373A
tetradic
#3A0537 #3A2205 #053A08 #051D3A
square
#3A0537 #3A2205 #053A08 #051D3A
split-complementary
#3A0537 #1D3A05 #053A22
monochromatic
#1C021B #1C021B #3A0537 #720A6C #AB0FA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A0537#FFFFFF#000000##FFFFFF
##3A05371.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)
#011938
Deuteranopia (green-blind)
#162036
Tritanopia (blue-blind)
#3D0C1E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0537;
/* rgb */ color: rgb(58, 5, 55);
/* oklch */ color: oklch(24.8% 0.102 330.7);
Tailwind
colors: {
  custom: {
    50: '#734d6e',
    500: '#3a0537',
    950: '#000000',
  },
}
SCSS
$custom: #3a0537;
$custom-light: #734d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0537",
  "rgb": {
    "r": 58,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 303.396,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24783,
    "c": 0.10241,
    "h": 330.7
  },
  "luminance": 0.01284
}

Semantic roles & 50–950 ramp

primary
#3A0537
secondary
#207B25
accent
#FA392D
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080107
muted
#7B777A

Preview Lab

Preview with #3A0537

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

Preview Lab → · Contrast checker → · Palette generator →

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