#3D0D51#3D0D51

#3D0D51 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.119 H 313.5°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#3D0D51
RGBrgb(61, 13, 81)
HSLhsl(282, 72%, 18%)
HSVhsv(282, 84%, 32%)
CMYKcmyk(24.7%, 84%, 0%, 68.2%)
CIE-LABlab(14.81, 34.38, -30.49)
CIE-LCHlch(14.81, 45.95, 318.42°)
OKLaboklab(28.1% 0.0817 -0.0862)
OKLCHoklch(28.1% 0.119 313.5)
XYZxyz(3.5533, 1.8741, 7.9576)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D51 #21510D
analogous
#1B0D51 #3D0D51 #510D43
triadic
#3D0D51 #513D0D #0D513D
tetradic
#3D0D51 #511B0D #21510D #0D4351
square
#3D0D51 #511B0D #21510D #0D4351
split-complementary
#3D0D51 #43510D #0D511B
monochromatic
#14041A #15051C #3D0D51 #651586 #8C1EBA

Accessibility & contrast

On white

15.27
#3D0D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0D51
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D51#FFFFFF#000000##FFFFFF
##3D0D511.0015.271.3715.27
#FFFFFF15.271.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002353
Deuteranopia (green-blind)
#062650
Tritanopia (blue-blind)
#3B1D2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d0d51;
/* rgb */ color: rgb(61, 13, 81);
/* oklch */ color: oklch(28.1% 0.119 313.5);
Tailwind
colors: {
  custom: {
    50: '#765282',
    500: '#3d0d51',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d51;
$custom-light: #765282;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d51",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 81
  },
  "hsl": {
    "h": 282.353,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28104,
    "c": 0.11879,
    "h": 313.5
  },
  "luminance": 0.01874
}

Semantic roles & 50–950 ramp

primary
#3D0D51
secondary
#4A8C2E
accent
#EF396E
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0D51

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

Preview Lab → · Contrast checker → · Palette generator →

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