#3C0C4C#3C0C4C

#3C0C4C is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.114 H 315.9°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#3C0C4C
RGBrgb(60, 12, 76)
HSLhsl(285, 73%, 17%)
HSVhsv(285, 84%, 30%)
CMYKcmyk(21.1%, 84.2%, 0%, 70.2%)
CIE-LABlab(14.09, 33.40, -28.24)
CIE-LCHlch(14.09, 43.74, 319.79°)
OKLaboklab(27.43% 0.0822 -0.0796)
OKLCHoklch(27.43% 0.114 315.9)
XYZxyz(3.2993, 1.7455, 6.9992)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0C4C #1C4C0C
analogous
#1C0C4C #3C0C4C #4C0C3C
triadic
#3C0C4C #4C3C0C #0C4C3C
tetradic
#3C0C4C #4C1C0C #1C4C0C #0C3C4C
square
#3C0C4C #4C1C0C #1C4C0C #0C3C4C
split-complementary
#3C0C4C #3C4C0C #0C4C1C
monochromatic
#15041A #15041A #3C0C4C #661481 #8F1DB6

Accessibility & contrast

On white

15.57
#3C0C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3C0C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0C4C
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0C4C#FFFFFF#000000##FFFFFF
##3C0C4C1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#0B254B
Tritanopia (blue-blind)
#3B1A2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c0c4c;
/* rgb */ color: rgb(60, 12, 76);
/* oklch */ color: oklch(27.4% 0.114 315.9);
Tailwind
colors: {
  custom: {
    50: '#75517e',
    500: '#3c0c4c',
    950: '#000000',
  },
}
SCSS
$custom: #3c0c4c;
$custom-light: #75517e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0c4c",
  "rgb": {
    "r": 60,
    "g": 12,
    "b": 76
  },
  "hsl": {
    "h": 285,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27431,
    "c": 0.11444,
    "h": 315.9
  },
  "luminance": 0.01745
}

Semantic roles & 50–950 ramp

primary
#3C0C4C
secondary
#43882C
accent
#EF3866
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3C0C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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