#3D0C46#3D0C46

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

Color values

HEX#3D0C46
RGBrgb(61, 12, 70)
HSLhsl(291, 71%, 16%)
HSVhsv(291, 83%, 27%)
CMYKcmyk(12.9%, 82.9%, 0%, 72.5%)
CIE-LABlab(13.81, 32.30, -24.51)
CIE-LCHlch(13.81, 40.55, 322.80°)
OKLaboklab(27.12% 0.0845 -0.0687)
OKLCHoklch(27.12% 0.109 320.9)
XYZxyz(3.1613, 1.6974, 5.9543)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C46 #15460C
analogous
#200C46 #3D0C46 #460C32
triadic
#3D0C46 #463D0C #0C463D
tetradic
#3D0C46 #46200C #15460C #0C3246
square
#3D0C46 #46200C #15460C #0C3246
split-complementary
#3D0C46 #32460C #0C4620
monochromatic
#17041A #17041A #3D0C46 #6B157A #981EAE

Accessibility & contrast

On white

15.68
#3D0C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0C46
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C46#FFFFFF#000000##FFFFFF
##3D0C461.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#132545
Tritanopia (blue-blind)
#3D1728
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3d0c46;
/* rgb */ color: rgb(61, 12, 70);
/* oklch */ color: oklch(27.1% 0.109 320.9);
Tailwind
colors: {
  custom: {
    50: '#75517a',
    500: '#3d0c46',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c46;
$custom-light: #75517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c46",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 290.69,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27122,
    "c": 0.10885,
    "h": 320.9
  },
  "luminance": 0.01697
}

Semantic roles & 50–950 ramp

primary
#3D0C46
secondary
#39822C
accent
#ED3A56
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0C46

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

Preview Lab → · Contrast checker → · Palette generator →

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