#3C0C47#3C0C47

#3C0C47 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.109 H 319.3°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#3C0C47
RGBrgb(60, 12, 71)
HSLhsl(289, 71%, 16%)
HSVhsv(289, 83%, 28%)
CMYKcmyk(15.5%, 83.1%, 0%, 72.2%)
CIE-LABlab(13.70, 32.28, -25.40)
CIE-LCHlch(13.70, 41.07, 321.80°)
OKLaboklab(27.03% 0.083 -0.0713)
OKLCHoklch(27.03% 0.109 319.3)
XYZxyz(3.1321, 1.6787, 6.1191)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0C47 #17470C
analogous
#1F0C47 #3C0C47 #470C35
triadic
#3C0C47 #473C0C #0C473C
tetradic
#3C0C47 #471F0C #17470C #0C3547
square
#3C0C47 #471F0C #17470C #0C3547
split-complementary
#3C0C47 #35470C #0C471F
monochromatic
#16041A #16041A #3C0C47 #68157B #941EB0

Accessibility & contrast

On white

15.72
#3C0C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0C47
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0C47#FFFFFF#000000##FFFFFF
##3C0C471.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#112546
Tritanopia (blue-blind)
#3C1829
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3c0c47;
/* rgb */ color: rgb(60, 12, 71);
/* oklch */ color: oklch(27.0% 0.109 319.3);
Tailwind
colors: {
  custom: {
    50: '#74517a',
    500: '#3c0c47',
    950: '#000000',
  },
}
SCSS
$custom: #3c0c47;
$custom-light: #74517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0c47",
  "rgb": {
    "r": 60,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 288.814,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27032,
    "c": 0.10937,
    "h": 319.3
  },
  "luminance": 0.01679
}

Semantic roles & 50–950 ramp

primary
#3C0C47
secondary
#3C832C
accent
#EE3A5B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0C47

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

Preview Lab → · Contrast checker → · Palette generator →

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