#3D0D4C#3D0D4C

#3D0D4C is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.114 H 316.6°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#3D0D4C
RGBrgb(61, 13, 76)
HSLhsl(286, 71%, 17%)
HSVhsv(286, 83%, 30%)
CMYKcmyk(19.7%, 82.9%, 0%, 70.2%)
CIE-LABlab(14.41, 33.22, -27.71)
CIE-LCHlch(14.41, 43.26, 320.17°)
OKLaboklab(27.69% 0.0826 -0.078)
OKLCHoklch(27.69% 0.114 316.6)
XYZxyz(3.3727, 1.8019, 7.0062)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D4C #1C4C0D
analogous
#1D0D4C #3D0D4C #4C0D3C
triadic
#3D0D4C #4C3D0D #0D4C3D
tetradic
#3D0D4C #4C1D0D #1C4C0D #0D3C4C
square
#3D0D4C #4C1D0D #1C4C0D #0D3C4C
split-complementary
#3D0D4C #3C4C0D #0D4C1D
monochromatic
#15041A #15041A #3D0D4C #671680 #911FB5

Accessibility & contrast

On white

15.44
#3D0D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3D0D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0D4C
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D4C#FFFFFF#000000##FFFFFF
##3D0D4C1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#0D264B
Tritanopia (blue-blind)
#3C1B2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d0d4c;
/* rgb */ color: rgb(61, 13, 76);
/* oklch */ color: oklch(27.7% 0.114 316.6);
Tailwind
colors: {
  custom: {
    50: '#75527e',
    500: '#3d0d4c',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d4c;
$custom-light: #75527e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d4c",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 285.714,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27693,
    "c": 0.11365,
    "h": 316.6
  },
  "luminance": 0.01802
}

Semantic roles & 50–950 ramp

primary
#3D0D4C
secondary
#43872E
accent
#EE3A65
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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