#3C0C4A#3C0C4A

#3C0C4A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.112 H 317.2°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#3C0C4A
RGBrgb(60, 12, 74)
HSLhsl(286, 72%, 17%)
HSVhsv(286, 84%, 29%)
CMYKcmyk(18.9%, 83.8%, 0%, 71%)
CIE-LABlab(13.93, 32.95, -27.11)
CIE-LCHlch(13.93, 42.67, 320.55°)
OKLaboklab(27.27% 0.0825 -0.0763)
OKLCHoklch(27.27% 0.112 317.2)
XYZxyz(3.2308, 1.7182, 6.6387)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0C4A #1A4A0C
analogous
#1D0C4A #3C0C4A #4A0C39
triadic
#3C0C4A #4A3C0C #0C4A3C
tetradic
#3C0C4A #4A1D0C #1A4A0C #0C394A
square
#3C0C4A #4A1D0C #1A4A0C #0C394A
split-complementary
#3C0C4A #394A0C #0C4A1D
monochromatic
#15041A #15041A #3C0C4A #67157F #911DB3

Accessibility & contrast

On white

15.63
#3C0C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3C0C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0C4A
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0C4A#FFFFFF#000000##FFFFFF
##3C0C4A1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#0D2549
Tritanopia (blue-blind)
#3B192A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3c0c4a;
/* rgb */ color: rgb(60, 12, 74);
/* oklch */ color: oklch(27.3% 0.112 317.2);
Tailwind
colors: {
  custom: {
    50: '#74517d',
    500: '#3c0c4a',
    950: '#000000',
  },
}
SCSS
$custom: #3c0c4a;
$custom-light: #74517d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0c4a",
  "rgb": {
    "r": 60,
    "g": 12,
    "b": 74
  },
  "hsl": {
    "h": 286.452,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27269,
    "c": 0.1124,
    "h": 317.2
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#3C0C4A
secondary
#40862C
accent
#EF3962
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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