#3D0C4D#3D0C4D

#3D0C4D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.116 H 316.1°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#3D0C4D
RGBrgb(61, 12, 77)
HSLhsl(285, 73%, 17%)
HSVhsv(285, 84%, 30%)
CMYKcmyk(20.8%, 84.4%, 0%, 69.8%)
CIE-LABlab(14.35, 33.85, -28.50)
CIE-LCHlch(14.35, 44.25, 319.91°)
OKLaboklab(27.68% 0.0835 -0.0803)
OKLCHoklch(27.68% 0.116 316.1)
XYZxyz(3.3953, 1.7910, 7.1866)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C4D #1C4D0C
analogous
#1D0C4D #3D0C4D #4D0C3C
triadic
#3D0C4D #4D3D0C #0C4D3D
tetradic
#3D0C4D #4D1D0C #1C4D0C #0C3C4D
square
#3D0C4D #4D1D0C #1C4D0C #0C3C4D
split-complementary
#3D0C4D #3C4D0C #0C4D1D
monochromatic
#15041A #15041A #3D0C4D #671482 #911DB7

Accessibility & contrast

On white

15.46
#3D0C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3D0C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0C4D
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C4D#FFFFFF#000000##FFFFFF
##3D0C4D1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#0B264C
Tritanopia (blue-blind)
#3C1B2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d0c4d;
/* rgb */ color: rgb(61, 12, 77);
/* oklch */ color: oklch(27.7% 0.116 316.1);
Tailwind
colors: {
  custom: {
    50: '#75517f',
    500: '#3d0c4d',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c4d;
$custom-light: #75517f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c4d",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 285.231,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27675,
    "c": 0.11587,
    "h": 316.1
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#3D0C4D
secondary
#43892C
accent
#F03865
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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