#3D0C3D#3D0C3D

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

Color values

HEX#3D0C3D
RGBrgb(61, 12, 61)
HSLhsl(300, 67%, 14%)
HSVhsv(300, 80%, 24%)
CMYKcmyk(0%, 80.3%, 0%, 76.1%)
CIE-LABlab(13.18, 30.42, -19.18)
CIE-LCHlch(13.18, 35.96, 327.76°)
OKLaboklab(26.47% 0.0849 -0.0531)
OKLCHoklch(26.47% 0.1 328)
XYZxyz(2.8982, 1.5922, 4.5686)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C3D #0C3D0C
analogous
#250C3D #3D0C3D #3D0C25
triadic
#3D0C3D #3D3D0C #0C3D3D
tetradic
#3D0C3D #3D250C #0C3D0C #0C253D
square
#3D0C3D #3D250C #0C3D0C #0C253D
split-complementary
#3D0C3D #253D0C #0C3D25
monochromatic
#1A051A #1A051A #3D0C3D #701670 #A320A3

Accessibility & contrast

On white

15.93
#3D0C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0C3D
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C3D#FFFFFF#000000##FFFFFF
##3D0C3D1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051E3E
Deuteranopia (green-blind)
#19243C
Tritanopia (blue-blind)
#3F1323
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d0c3d;
/* rgb */ color: rgb(61, 12, 61);
/* oklch */ color: oklch(26.5% 0.100 328.0);
Tailwind
colors: {
  custom: {
    50: '#755073',
    500: '#3d0c3d',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c3d;
$custom-light: #755073;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c3d",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 300,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26471,
    "c": 0.1001,
    "h": 328
  },
  "luminance": 0.01592
}

Semantic roles & 50–950 ramp

primary
#3D0C3D
secondary
#2C792C
accent
#EA3E3E
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3D0C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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