#3C0D3D#3C0D3D

#3C0D3D is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.098 H 327.0°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#3C0D3D
RGBrgb(60, 13, 61)
HSLhsl(299, 65%, 15%)
HSVhsv(299, 79%, 24%)
CMYKcmyk(1.6%, 78.7%, 0%, 76.1%)
CIE-LABlab(13.14, 29.72, -19.26)
CIE-LCHlch(13.14, 35.41, 327.05°)
OKLaboklab(26.4% 0.0823 -0.0534)
OKLCHoklch(26.4% 0.098 327)
XYZxyz(2.8497, 1.5856, 4.5699)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D3D #0E3D0D
analogous
#240D3D #3C0D3D #3D0D26
triadic
#3C0D3D #3D3C0D #0D3D3C
tetradic
#3C0D3D #3D240D #0E3D0D #0D263D
square
#3C0D3D #3D240D #0E3D0D #0D263D
split-complementary
#3C0D3D #263D0D #0D3D24
monochromatic
#190519 #190519 #3C0D3D #6E186F #9F23A2

Accessibility & contrast

On white

15.95
#3C0D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0D3D
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D3D#FFFFFF#000000##FFFFFF
##3C0D3D1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c0d3d;
/* rgb */ color: rgb(60, 13, 61);
/* oklch */ color: oklch(26.4% 0.098 327.0);
Tailwind
colors: {
  custom: {
    50: '#745173',
    500: '#3c0d3d',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d3d;
$custom-light: #745173;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d3d",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 61
  },
  "hsl": {
    "h": 298.75,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26404,
    "c": 0.09811,
    "h": 327
  },
  "luminance": 0.01585
}

Semantic roles & 50–950 ramp

primary
#3C0D3D
secondary
#2F792D
accent
#E84043
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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