#3D0D47#3D0D47

#3D0D47 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.109 H 320.1°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#3D0D47
RGBrgb(61, 13, 71)
HSLhsl(290, 69%, 16%)
HSVhsv(290, 82%, 28%)
CMYKcmyk(14.1%, 81.7%, 0%, 72.2%)
CIE-LABlab(14.03, 32.10, -24.86)
CIE-LCHlch(14.03, 40.61, 322.25°)
OKLaboklab(27.3% 0.0833 -0.0697)
OKLCHoklch(27.3% 0.109 320.1)
XYZxyz(3.2056, 1.7350, 6.1261)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D47 #17470D
analogous
#200D47 #3D0D47 #470D34
triadic
#3D0D47 #473D0D #0D473D
tetradic
#3D0D47 #47200D #17470D #0D3447
square
#3D0D47 #47200D #17470D #0D3447
split-complementary
#3D0D47 #34470D #0D4720
monochromatic
#16051A #16051A #3D0D47 #69167B #9620AE

Accessibility & contrast

On white

15.59
#3D0D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0D47
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D47#FFFFFF#000000##FFFFFF
##3D0D471.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#122546
Tritanopia (blue-blind)
#3D1829
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d0d47;
/* rgb */ color: rgb(61, 13, 71);
/* oklch */ color: oklch(27.3% 0.109 320.1);
Tailwind
colors: {
  custom: {
    50: '#75517a',
    500: '#3d0d47',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d47;
$custom-light: #75517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d47",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 289.655,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27302,
    "c": 0.10857,
    "h": 320.1
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#3D0D47
secondary
#3C822D
accent
#EC3C5A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0D47

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

Preview Lab → · Contrast checker → · Palette generator →

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