#3D0C3E#3D0C3E

#3D0C3E is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.101 H 327.1°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#3D0C3E
RGBrgb(61, 12, 62)
HSLhsl(299, 68%, 15%)
HSVhsv(299, 81%, 24%)
CMYKcmyk(1.6%, 80.6%, 0%, 75.7%)
CIE-LABlab(13.25, 30.62, -19.79)
CIE-LCHlch(13.25, 36.46, 327.13°)
OKLaboklab(26.54% 0.0849 -0.0549)
OKLCHoklch(26.54% 0.101 327.1)
XYZxyz(2.9254, 1.6030, 4.7118)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C3E #0D3E0C
analogous
#240C3E #3D0C3E #3E0C26
triadic
#3D0C3E #3E3D0C #0C3E3D
tetradic
#3D0C3E #3E240C #0D3E0C #0C263E
square
#3D0C3E #3E240C #0D3E0C #0C263E
split-complementary
#3D0C3E #263E0C #0C3E24
monochromatic
#19051A #19051A #3D0C3E #6F1671 #A220A5

Accessibility & contrast

On white

15.90
#3D0C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3D0C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0C3E
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C3E#FFFFFF#000000##FFFFFF
##3D0C3E1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3F
Deuteranopia (green-blind)
#18243D
Tritanopia (blue-blind)
#3F1424
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d0c3e;
/* rgb */ color: rgb(61, 12, 62);
/* oklch */ color: oklch(26.5% 0.101 327.1);
Tailwind
colors: {
  custom: {
    50: '#755173',
    500: '#3d0c3e',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c3e;
$custom-light: #755173;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c3e",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 298.8,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2654,
    "c": 0.10105,
    "h": 327.1
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#3D0C3E
secondary
#2D7A2C
accent
#EA3D41
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3D0C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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