#3A0D49#3A0D49

#3A0D49 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.109 H 316.1°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#3A0D49
RGBrgb(58, 13, 73)
HSLhsl(285, 70%, 17%)
HSVhsv(285, 82%, 29%)
CMYKcmyk(20.5%, 82.2%, 0%, 71.4%)
CIE-LABlab(13.64, 31.83, -26.90)
CIE-LCHlch(13.64, 41.68, 319.80°)
OKLaboklab(26.97% 0.0787 -0.0758)
OKLCHoklch(26.97% 0.109 316.1)
XYZxyz(3.0913, 1.6686, 6.4613)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D49 #1C490D
analogous
#1C0D49 #3A0D49 #490D3A
triadic
#3A0D49 #493A0D #0D493A
tetradic
#3A0D49 #491C0D #1C490D #0D3A49
square
#3A0D49 #491C0D #1C490D #0D3A49
split-complementary
#3A0D49 #3A490D #0D491C
monochromatic
#15051A #15051A #3A0D49 #63167D #8D20B1

Accessibility & contrast

On white

15.75
#3A0D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3A0D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0D49
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D49#FFFFFF#000000##FFFFFF
##3A0D491.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204B
Deuteranopia (green-blind)
#0C2448
Tritanopia (blue-blind)
#391A2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a0d49;
/* rgb */ color: rgb(58, 13, 73);
/* oklch */ color: oklch(27.0% 0.109 316.1);
Tailwind
colors: {
  custom: {
    50: '#73517c',
    500: '#3a0d49',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d49;
$custom-light: #73517c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d49",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 73
  },
  "hsl": {
    "h": 285,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26966,
    "c": 0.10926,
    "h": 316.1
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#3A0D49
secondary
#43842D
accent
#ED3B68
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0D49

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

Preview Lab → · Contrast checker → · Palette generator →

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