#3D0C36#3D0C36

#3D0C36 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.094 H 334.3°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#3D0C36
RGBrgb(61, 12, 54)
HSLhsl(309, 67%, 14%)
HSVhsv(309, 80%, 24%)
CMYKcmyk(0%, 80.3%, 11.5%, 76.1%)
CIE-LABlab(12.74, 29.07, -14.87)
CIE-LCHlch(12.74, 32.65, 332.92°)
OKLaboklab(26.01% 0.0844 -0.0406)
OKLCHoklch(26.01% 0.094 334.3)
XYZxyz(2.7218, 1.5216, 3.6397)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C36 #0C3D13
analogous
#2C0C3D #3D0C36 #3D0C1E
triadic
#3D0C36 #363D0C #0C363D
tetradic
#3D0C36 #3D2C0C #0C3D13 #0C1E3D
square
#3D0C36 #3D2C0C #0C3D13 #0C1E3D
split-complementary
#3D0C36 #1E3D0C #0C3D2C
monochromatic
#1A0517 #1A0517 #3D0C36 #701663 #A32091

Accessibility & contrast

On white

16.10
#3D0C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3D0C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0C36
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C36#FFFFFF#000000##FFFFFF
##3D0C361.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1C37
Deuteranopia (green-blind)
#1C2435
Tritanopia (blue-blind)
#40101F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3d0c36;
/* rgb */ color: rgb(61, 12, 54);
/* oklch */ color: oklch(26.0% 0.094 334.3);
Tailwind
colors: {
  custom: {
    50: '#75506d',
    500: '#3d0c36',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c36;
$custom-light: #75506d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c36",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 54
  },
  "hsl": {
    "h": 308.571,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26014,
    "c": 0.09369,
    "h": 334.3
  },
  "luminance": 0.01521
}

Semantic roles & 50–950 ramp

primary
#3D0C36
secondary
#2C7937
accent
#EA563E
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3D0C36

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

Preview Lab → · Contrast checker → · Palette generator →

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