#3A0D38#3A0D38

#3A0D38 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.092 H 329.7°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#3A0D38
RGBrgb(58, 13, 56)
HSLhsl(303, 63%, 14%)
HSVhsv(303, 78%, 23%)
CMYKcmyk(0%, 77.6%, 3.4%, 77.3%)
CIE-LABlab(12.44, 28.14, -16.83)
CIE-LCHlch(12.44, 32.79, 329.11°)
OKLaboklab(25.72% 0.0795 -0.0464)
OKLCHoklch(25.72% 0.092 329.7)
XYZxyz(2.6026, 1.4731, 3.8879)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D38 #0D3A0F
analogous
#260D3A #3A0D38 #3A0D22
triadic
#3A0D38 #383A0D #0D383A
tetradic
#3A0D38 #3A260D #0D3A0F #0D223A
square
#3A0D38 #3A260D #0D3A0F #0D223A
split-complementary
#3A0D38 #223A0D #0D3A26
monochromatic
#190618 #190618 #3A0D38 #6C1868 #9E2399

Accessibility & contrast

On white

16.22
#3A0D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3A0D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0D38
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D38#FFFFFF#000000##FFFFFF
##3A0D381.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081C39
Deuteranopia (green-blind)
#192337
Tritanopia (blue-blind)
#3C1221
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a0d38;
/* rgb */ color: rgb(58, 13, 56);
/* oklch */ color: oklch(25.7% 0.092 329.7);
Tailwind
colors: {
  custom: {
    50: '#72506f',
    500: '#3a0d38',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d38;
$custom-light: #72506f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d38",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 302.667,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25716,
    "c": 0.09202,
    "h": 329.7
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#3A0D38
secondary
#2D7630
accent
#E64941
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0D38

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

Preview Lab → · Contrast checker → · Palette generator →

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