#3D0D4A#3D0D4A

#3D0D4A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.112 H 318.0°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#3D0D4A
RGBrgb(61, 13, 74)
HSLhsl(287, 70%, 17%)
HSVhsv(287, 82%, 29%)
CMYKcmyk(17.6%, 82.4%, 0%, 71%)
CIE-LABlab(14.26, 32.77, -26.58)
CIE-LCHlch(14.26, 42.19, 320.95°)
OKLaboklab(27.53% 0.0829 -0.0747)
OKLCHoklch(27.53% 0.112 318)
XYZxyz(3.3042, 1.7745, 6.6457)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D4A #1A4A0D
analogous
#1F0D4A #3D0D4A #4A0D39
triadic
#3D0D4A #4A3D0D #0D4A3D
tetradic
#3D0D4A #4A1F0D #1A4A0D #0D394A
square
#3D0D4A #4A1F0D #1A4A0D #0D394A
split-complementary
#3D0D4A #394A0D #0D4A1F
monochromatic
#15051A #15051A #3D0D4A #68167E #931FB2

Accessibility & contrast

On white

15.50
#3D0D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3D0D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0D4A
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D4A#FFFFFF#000000##FFFFFF
##3D0D4A1.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#102649
Tritanopia (blue-blind)
#3D1A2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d0d4a;
/* rgb */ color: rgb(61, 13, 74);
/* oklch */ color: oklch(27.5% 0.112 318.0);
Tailwind
colors: {
  custom: {
    50: '#75527d',
    500: '#3d0d4a',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d4a;
$custom-light: #75527d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d4a",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 287.213,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27534,
    "c": 0.1116,
    "h": 318
  },
  "luminance": 0.01774
}

Semantic roles & 50–950 ramp

primary
#3D0D4A
secondary
#40852E
accent
#ED3B61
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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