#3D0D45#3D0D45

#3D0D45 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.107 H 321.5°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#3D0D45
RGBrgb(61, 13, 69)
HSLhsl(291, 68%, 16%)
HSVhsv(291, 81%, 27%)
CMYKcmyk(11.6%, 81.2%, 0%, 72.9%)
CIE-LABlab(13.88, 31.67, -23.70)
CIE-LCHlch(13.88, 39.55, 323.19°)
OKLaboklab(27.15% 0.0834 -0.0663)
OKLCHoklch(27.15% 0.107 321.5)
XYZxyz(3.1425, 1.7098, 5.7936)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D45 #15450D
analogous
#210D45 #3D0D45 #450D31
triadic
#3D0D45 #453D0D #0D453D
tetradic
#3D0D45 #45210D #15450D #0D3145
square
#3D0D45 #45210D #15450D #0D3145
split-complementary
#3D0D45 #31450D #0D4521
monochromatic
#17051A #17051A #3D0D45 #6B1778 #9820AC

Accessibility & contrast

On white

15.65
#3D0D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3D0D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0D45
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D45#FFFFFF#000000##FFFFFF
##3D0D451.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#142544
Tritanopia (blue-blind)
#3E1828
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3d0d45;
/* rgb */ color: rgb(61, 13, 69);
/* oklch */ color: oklch(27.2% 0.107 321.5);
Tailwind
colors: {
  custom: {
    50: '#755179',
    500: '#3d0d45',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d45;
$custom-light: #755179;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d45",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 291.429,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27151,
    "c": 0.10656,
    "h": 321.5
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#3D0D45
secondary
#39802D
accent
#EB3D56
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3D0D45

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

Preview Lab → · Contrast checker → · Palette generator →

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