#3C0C3D#3C0C3D

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

Color values

HEX#3C0C3D
RGBrgb(60, 12, 61)
HSLhsl(299, 67%, 14%)
HSVhsv(299, 80%, 24%)
CMYKcmyk(1.6%, 80.3%, 0%, 76.1%)
CIE-LABlab(12.99, 30.15, -19.50)
CIE-LCHlch(12.99, 35.91, 327.10°)
OKLaboklab(26.29% 0.0835 -0.0541)
OKLCHoklch(26.29% 0.1 327.1)
XYZxyz(2.8372, 1.5607, 4.5658)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0C3D #0D3D0C
analogous
#240C3D #3C0C3D #3D0C26
triadic
#3C0C3D #3D3C0C #0C3D3C
tetradic
#3C0C3D #3D240C #0D3D0C #0C263D
square
#3C0C3D #3D240C #0D3D0C #0C263D
split-complementary
#3C0C3D #263D0C #0C3D24
monochromatic
#19051A #19051A #3C0C3D #6E1670 #A120A3

Accessibility & contrast

On white

16.00
#3C0C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3C0C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0C3D
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0C3D#FFFFFF#000000##FFFFFF
##3C0C3D1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c0c3d;
/* rgb */ color: rgb(60, 12, 61);
/* oklch */ color: oklch(26.3% 0.100 327.1);
Tailwind
colors: {
  custom: {
    50: '#745073',
    500: '#3c0c3d',
    950: '#000000',
  },
}
SCSS
$custom: #3c0c3d;
$custom-light: #745073;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0c3d",
  "rgb": {
    "r": 60,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 298.776,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26294,
    "c": 0.09951,
    "h": 327.1
  },
  "luminance": 0.01561
}

Semantic roles & 50–950 ramp

primary
#3C0C3D
secondary
#2D792C
accent
#EA3E41
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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