#3D0D4D#3D0D4D

#3D0D4D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.115 H 316.0°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#3D0D4D
RGBrgb(61, 13, 77)
HSLhsl(285, 71%, 18%)
HSVhsv(285, 83%, 30%)
CMYKcmyk(20.8%, 83.1%, 0%, 69.8%)
CIE-LABlab(14.49, 33.45, -28.27)
CIE-LCHlch(14.49, 43.80, 319.79°)
OKLaboklab(27.77% 0.0825 -0.0797)
OKLCHoklch(27.77% 0.115 316)
XYZxyz(3.4077, 1.8159, 7.1907)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D4D #1D4D0D
analogous
#1D0D4D #3D0D4D #4D0D3D
triadic
#3D0D4D #4D3D0D #0D4D3D
tetradic
#3D0D4D #4D1D0D #1D4D0D #0D3D4D
square
#3D0D4D #4D1D0D #1D4D0D #0D3D4D
split-complementary
#3D0D4D #3D4D0D #0D4D1D
monochromatic
#15041A #15041A #3D0D4D #661681 #901FB6

Accessibility & contrast

On white

15.40
#3D0D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0D4D
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D4D#FFFFFF#000000##FFFFFF
##3D0D4D1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#0C264C
Tritanopia (blue-blind)
#3C1B2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d0d4d;
/* rgb */ color: rgb(61, 13, 77);
/* oklch */ color: oklch(27.8% 0.115 316.0);
Tailwind
colors: {
  custom: {
    50: '#75527f',
    500: '#3d0d4d',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d4d;
$custom-light: #75527f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d4d",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 285,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27774,
    "c": 0.11467,
    "h": 316
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

primary
#3D0D4D
secondary
#44882E
accent
#EE3A67
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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