#3D0D38#3D0D38

#3D0D38 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.3% C 0.094 H 332.4°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#3D0D38
RGBrgb(61, 13, 56)
HSLhsl(306, 65%, 15%)
HSVhsv(306, 79%, 24%)
CMYKcmyk(0%, 78.7%, 8.2%, 76.1%)
CIE-LABlab(13.02, 29.01, -15.87)
CIE-LCHlch(13.02, 33.07, 331.31°)
OKLaboklab(26.25% 0.0833 -0.0435)
OKLCHoklch(26.25% 0.094 332.4)
XYZxyz(2.7822, 1.5657, 3.8963)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D38 #0D3D12
analogous
#2A0D3D #3D0D38 #3D0D20
triadic
#3D0D38 #383D0D #0D383D
tetradic
#3D0D38 #3D2A0D #0D3D12 #0D203D
square
#3D0D38 #3D2A0D #0D3D12 #0D203D
split-complementary
#3D0D38 #203D0D #0D3D2A
monochromatic
#190517 #190517 #3D0D38 #6F1866 #A22395

Accessibility & contrast

On white

15.99
#3D0D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3D0D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0D38
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D38#FFFFFF#000000##FFFFFF
##3D0D381.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1D39
Deuteranopia (green-blind)
#1C2437
Tritanopia (blue-blind)
#401221
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d0d38;
/* rgb */ color: rgb(61, 13, 56);
/* oklch */ color: oklch(26.3% 0.094 332.4);
Tailwind
colors: {
  custom: {
    50: '#75516e',
    500: '#3d0d38',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d38;
$custom-light: #75516e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d38",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 306.25,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26251,
    "c": 0.09403,
    "h": 332.4
  },
  "luminance": 0.01565
}

Semantic roles & 50–950 ramp

primary
#3D0D38
secondary
#2D7935
accent
#E85140
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3D0D38

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

Preview Lab → · Contrast checker → · Palette generator →

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