#3D0D48#3D0D48

#3D0D48 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.110 H 319.4°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#3D0D48
RGBrgb(61, 13, 72)
HSLhsl(289, 69%, 17%)
HSVhsv(289, 82%, 28%)
CMYKcmyk(15.3%, 81.9%, 0%, 71.8%)
CIE-LABlab(14.11, 32.32, -25.44)
CIE-LCHlch(14.11, 41.13, 321.80°)
OKLaboklab(27.38% 0.0832 -0.0714)
OKLCHoklch(27.38% 0.11 319.4)
XYZxyz(3.2379, 1.7480, 6.2965)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D48 #18480D
analogous
#200D48 #3D0D48 #480D36
triadic
#3D0D48 #483D0D #0D483D
tetradic
#3D0D48 #48200D #18480D #0D3648
square
#3D0D48 #48200D #18480D #0D3648
split-complementary
#3D0D48 #36480D #0D4820
monochromatic
#16051A #16051A #3D0D48 #69167C #9520B0

Accessibility & contrast

On white

15.56
#3D0D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0D48
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D48#FFFFFF#000000##FFFFFF
##3D0D481.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#122547
Tritanopia (blue-blind)
#3D192A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d0d48;
/* rgb */ color: rgb(61, 13, 72);
/* oklch */ color: oklch(27.4% 0.110 319.4);
Tailwind
colors: {
  custom: {
    50: '#75517b',
    500: '#3d0d48',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d48;
$custom-light: #75517b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d48",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 288.814,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27378,
    "c": 0.10957,
    "h": 319.4
  },
  "luminance": 0.01748
}

Semantic roles & 50–950 ramp

primary
#3D0D48
secondary
#3D832D
accent
#EC3C5D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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