#3A0533#3A0533

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

Color values

HEX#3A0533
RGBrgb(58, 5, 51)
HSLhsl(308, 84%, 12%)
HSVhsv(308, 91%, 23%)
CMYKcmyk(0%, 91.4%, 12.1%, 77.3%)
CIE-LABlab(10.90, 30.67, -15.63)
CIE-LCHlch(10.90, 34.42, 332.99°)
OKLaboklab(24.51% 0.0893 -0.0429)
OKLCHoklch(24.51% 0.099 334.4)
XYZxyz(2.3968, 1.2473, 3.2459)
Luminance0.0125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0533 #053A0C
analogous
#27053A #3A0533 #3A0518
triadic
#3A0533 #333A05 #05333A
tetradic
#3A0533 #3A2705 #053A0C #05183A
square
#3A0533 #3A2705 #053A0C #05183A
split-complementary
#3A0533 #183A05 #053A27
monochromatic
#1C0219 #1C0219 #3A0533 #720A65 #AB0F96

Accessibility & contrast

On white

16.81
#3A0533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0533
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0533#FFFFFF#000000##FFFFFF
##3A05331.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041834
Deuteranopia (green-blind)
#182032
Tritanopia (blue-blind)
#3D0A1C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3a0533;
/* rgb */ color: rgb(58, 5, 51);
/* oklch */ color: oklch(24.5% 0.099 334.4);
Tailwind
colors: {
  custom: {
    50: '#734c6b',
    500: '#3a0533',
    950: '#000000',
  },
}
SCSS
$custom: #3a0533;
$custom-light: #734c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0533",
  "rgb": {
    "r": 58,
    "g": 5,
    "b": 51
  },
  "hsl": {
    "h": 307.925,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24512,
    "c": 0.09903,
    "h": 334.4
  },
  "luminance": 0.01247
}

Semantic roles & 50–950 ramp

primary
#3A0533
secondary
#207B2C
accent
#FA482D
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A0533

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

Preview Lab → · Contrast checker → · Palette generator →

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