#3A0D4D#3A0D4D

#3A0D4D is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.113 H 313.5°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#3A0D4D
RGBrgb(58, 13, 77)
HSLhsl(282, 71%, 18%)
HSVhsv(282, 83%, 30%)
CMYKcmyk(24.7%, 83.1%, 0%, 69.8%)
CIE-LABlab(13.96, 32.77, -29.15)
CIE-LCHlch(13.96, 43.86, 318.35°)
OKLaboklab(27.3% 0.078 -0.0824)
OKLCHoklch(27.3% 0.113 313.5)
XYZxyz(3.2282, 1.7233, 7.1823)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D4D #204D0D
analogous
#1A0D4D #3A0D4D #4D0D40
triadic
#3A0D4D #4D3A0D #0D4D3A
tetradic
#3A0D4D #4D1A0D #204D0D #0D404D
square
#3A0D4D #4D1A0D #204D0D #0D404D
split-complementary
#3A0D4D #404D0D #0D4D1A
monochromatic
#14041A #14041A #3A0D4D #611681 #891FB6

Accessibility & contrast

On white

15.62
#3A0D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3A0D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0D4D
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D4D#FFFFFF#000000##FFFFFF
##3A0D4D1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#07254C
Tritanopia (blue-blind)
#381C2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a0d4d;
/* rgb */ color: rgb(58, 13, 77);
/* oklch */ color: oklch(27.3% 0.113 313.5);
Tailwind
colors: {
  custom: {
    50: '#73517f',
    500: '#3a0d4d',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d4d;
$custom-light: #73517f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d4d",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 282.188,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27295,
    "c": 0.11347,
    "h": 313.5
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#3A0D4D
secondary
#49882E
accent
#EE3A6F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3A0D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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