#3A0D3B#3A0D3B

#3A0D3B is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.095 H 327.0°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#3A0D3B
RGBrgb(58, 13, 59)
HSLhsl(299, 64%, 14%)
HSVhsv(299, 78%, 23%)
CMYKcmyk(1.7%, 78%, 0%, 76.9%)
CIE-LABlab(12.63, 28.75, -18.67)
CIE-LCHlch(12.63, 34.28, 327.00°)
OKLaboklab(25.92% 0.0796 -0.0517)
OKLCHoklch(25.92% 0.095 327)
XYZxyz(2.6782, 1.5033, 4.2859)
Luminance0.0150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D3B #0E3B0D
analogous
#230D3B #3A0D3B #3B0D25
triadic
#3A0D3B #3B3A0D #0D3B3A
tetradic
#3A0D3B #3B230D #0E3B0D #0D253B
square
#3A0D3B #3B230D #0E3B0D #0D253B
split-complementary
#3A0D3B #253B0D #0D3B23
monochromatic
#190619 #190619 #3A0D3B #6B186D #9D239F

Accessibility & contrast

On white

16.15
#3A0D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3A0D3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0D3B
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D3B#FFFFFF#000000##FFFFFF
##3A0D3B1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061D3C
Deuteranopia (green-blind)
#18233A
Tritanopia (blue-blind)
#3C1422
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0d3b;
/* rgb */ color: rgb(58, 13, 59);
/* oklch */ color: oklch(25.9% 0.095 327.0);
Tailwind
colors: {
  custom: {
    50: '#725071',
    500: '#3a0d3b',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d3b;
$custom-light: #725071;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d3b",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 59
  },
  "hsl": {
    "h": 298.696,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25918,
    "c": 0.09494,
    "h": 327
  },
  "luminance": 0.01503
}

Semantic roles & 50–950 ramp

primary
#3A0D3B
secondary
#2F772D
accent
#E74145
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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