#3C0C4D#3C0C4D

#3C0C4D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.115 H 315.3°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#3C0C4D
RGBrgb(60, 12, 77)
HSLhsl(284, 73%, 17%)
HSVhsv(284, 84%, 30%)
CMYKcmyk(22.1%, 84.4%, 0%, 69.8%)
CIE-LABlab(14.17, 33.63, -28.80)
CIE-LCHlch(14.17, 44.27, 319.43°)
OKLaboklab(27.51% 0.082 -0.0812)
OKLCHoklch(27.51% 0.115 315.3)
XYZxyz(3.3343, 1.7596, 7.1837)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0C4D #1D4D0C
analogous
#1C0C4D #3C0C4D #4D0C3D
triadic
#3C0C4D #4D3C0C #0C4D3C
tetradic
#3C0C4D #4D1C0C #1D4D0C #0C3D4D
square
#3C0C4D #4D1C0C #1D4D0C #0C3D4D
split-complementary
#3C0C4D #3D4D0C #0C4D1C
monochromatic
#15041A #15041A #3C0C4D #651482 #8F1DB7

Accessibility & contrast

On white

15.53
#3C0C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0C4D
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0C4D#FFFFFF#000000##FFFFFF
##3C0C4D1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#09254C
Tritanopia (blue-blind)
#3B1B2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c0c4d;
/* rgb */ color: rgb(60, 12, 77);
/* oklch */ color: oklch(27.5% 0.115 315.3);
Tailwind
colors: {
  custom: {
    50: '#75517f',
    500: '#3c0c4d',
    950: '#000000',
  },
}
SCSS
$custom: #3c0c4d;
$custom-light: #75517f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0c4d",
  "rgb": {
    "r": 60,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 284.308,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27513,
    "c": 0.11546,
    "h": 315.3
  },
  "luminance": 0.01759
}

Semantic roles & 50–950 ramp

primary
#3C0C4D
secondary
#44892C
accent
#F03868
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3C0C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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