#3A0D3D#3A0D3D

#3A0D3D is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.097 H 325.2°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#3A0D3D
RGBrgb(58, 13, 61)
HSLhsl(296, 65%, 15%)
HSVhsv(296, 79%, 24%)
CMYKcmyk(4.9%, 78.7%, 0%, 76.1%)
CIE-LABlab(12.76, 29.17, -19.89)
CIE-LCHlch(12.76, 35.30, 325.71°)
OKLaboklab(26.06% 0.0796 -0.0553)
OKLCHoklch(26.06% 0.097 325.2)
XYZxyz(2.7311, 1.5245, 4.5644)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D3D #103D0D
analogous
#220D3D #3A0D3D #3D0D28
triadic
#3A0D3D #3D3A0D #0D3D3A
tetradic
#3A0D3D #3D220D #103D0D #0D283D
square
#3A0D3D #3D220D #103D0D #0D283D
split-complementary
#3A0D3D #283D0D #0D3D22
monochromatic
#180519 #180519 #3A0D3D #6A186F #9A23A2

Accessibility & contrast

On white

16.09
#3A0D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0D3D
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D3D#FFFFFF#000000##FFFFFF
##3A0D3D1.0016.091.3016.09
#FFFFFF16.091.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3E
Deuteranopia (green-blind)
#17233C
Tritanopia (blue-blind)
#3C1523
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0d3d;
/* rgb */ color: rgb(58, 13, 61);
/* oklch */ color: oklch(26.1% 0.097 325.2);
Tailwind
colors: {
  custom: {
    50: '#725073',
    500: '#3a0d3d',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d3d;
$custom-light: #725073;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d3d",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 61
  },
  "hsl": {
    "h": 296.25,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26057,
    "c": 0.09693,
    "h": 325.2
  },
  "luminance": 0.01524
}

Semantic roles & 50–950 ramp

primary
#3A0D3D
secondary
#32792D
accent
#E8404A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A0D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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