#3D0D4F#3D0D4F

#3D0D4F is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.9% C 0.117 H 314.7°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#3D0D4F
RGBrgb(61, 13, 79)
HSLhsl(284, 72%, 18%)
HSVhsv(284, 84%, 31%)
CMYKcmyk(22.8%, 83.5%, 0%, 69%)
CIE-LABlab(14.65, 33.91, -29.39)
CIE-LCHlch(14.65, 44.87, 319.08°)
OKLaboklab(27.94% 0.0821 -0.083)
OKLCHoklch(27.94% 0.117 314.7)
XYZxyz(3.4794, 1.8446, 7.5684)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D4F #1F4F0D
analogous
#1C0D4F #3D0D4F #4F0D40
triadic
#3D0D4F #4F3D0D #0D4F3D
tetradic
#3D0D4F #4F1C0D #1F4F0D #0D404F
square
#3D0D4F #4F1C0D #1F4F0D #0D404F
split-complementary
#3D0D4F #404F0D #0D4F1C
monochromatic
#14041A #14041A #3D0D4F #661684 #8E1EB8

Accessibility & contrast

On white

15.34
#3D0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3D0D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0D4F
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D4F#FFFFFF#000000##FFFFFF
##3D0D4F1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#09264E
Tritanopia (blue-blind)
#3B1C2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d0d4f;
/* rgb */ color: rgb(61, 13, 79);
/* oklch */ color: oklch(27.9% 0.117 314.7);
Tailwind
colors: {
  custom: {
    50: '#755281',
    500: '#3d0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d4f;
$custom-light: #755281;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d4f",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 283.636,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27937,
    "c": 0.11673,
    "h": 314.7
  },
  "luminance": 0.01844
}

Semantic roles & 50–950 ramp

primary
#3D0D4F
secondary
#478A2E
accent
#EE396B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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