#3D0C47#3D0C47

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

Color values

HEX#3D0C47
RGBrgb(61, 12, 71)
HSLhsl(290, 71%, 16%)
HSVhsv(290, 83%, 28%)
CMYKcmyk(14.1%, 83.1%, 0%, 72.2%)
CIE-LABlab(13.89, 32.52, -25.09)
CIE-LCHlch(13.89, 41.07, 322.34°)
OKLaboklab(27.2% 0.0844 -0.0703)
OKLCHoklch(27.2% 0.11 320.2)
XYZxyz(3.1931, 1.7101, 6.1219)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C47 #16470C
analogous
#200C47 #3D0C47 #470C34
triadic
#3D0C47 #473D0C #0C473D
tetradic
#3D0C47 #47200C #16470C #0C3447
square
#3D0C47 #47200C #16470C #0C3447
split-complementary
#3D0C47 #34470C #0C4720
monochromatic
#16041A #16041A #3D0C47 #6A157B #971EB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D0C47#FFFFFF#000000##FFFFFF
##3D0C471.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)
#002049
Deuteranopia (green-blind)
#122546
Tritanopia (blue-blind)
#3D1829
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3d0c47;
/* rgb */ color: rgb(61, 12, 71);
/* oklch */ color: oklch(27.2% 0.110 320.2);
Tailwind
colors: {
  custom: {
    50: '#75517a',
    500: '#3d0c47',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c47;
$custom-light: #75517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c47",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 289.831,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27199,
    "c": 0.10984,
    "h": 320.2
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#3D0C47
secondary
#3B832C
accent
#EE3A58
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0C47

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

Preview Lab → · Contrast checker → · Palette generator →

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