#3C0C49#3C0C49

#3C0C49 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.111 H 317.9°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#3C0C49
RGBrgb(60, 12, 73)
HSLhsl(287, 72%, 17%)
HSVhsv(287, 84%, 29%)
CMYKcmyk(17.8%, 83.6%, 0%, 71.4%)
CIE-LABlab(13.85, 32.72, -26.54)
CIE-LCHlch(13.85, 42.13, 320.95°)
OKLaboklab(27.19% 0.0827 -0.0746)
OKLCHoklch(27.19% 0.111 317.9)
XYZxyz(3.1974, 1.7048, 6.4627)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0C49 #19490C
analogous
#1E0C49 #3C0C49 #490C38
triadic
#3C0C49 #493C0C #0C493C
tetradic
#3C0C49 #491E0C #19490C #0C3849
square
#3C0C49 #491E0C #19490C #0C3849
split-complementary
#3C0C49 #38490C #0C491E
monochromatic
#16041A #16041A #3C0C49 #67157E #921DB2

Accessibility & contrast

On white

15.66
#3C0C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0C49
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0C49#FFFFFF#000000##FFFFFF
##3C0C491.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204B
Deuteranopia (green-blind)
#0E2548
Tritanopia (blue-blind)
#3C192A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3c0c49;
/* rgb */ color: rgb(60, 12, 73);
/* oklch */ color: oklch(27.2% 0.111 317.9);
Tailwind
colors: {
  custom: {
    50: '#74517c',
    500: '#3c0c49',
    950: '#000000',
  },
}
SCSS
$custom: #3c0c49;
$custom-light: #74517c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0c49",
  "rgb": {
    "r": 60,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 287.213,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27189,
    "c": 0.11139,
    "h": 317.9
  },
  "luminance": 0.01705
}

Semantic roles & 50–950 ramp

primary
#3C0C49
secondary
#3F852C
accent
#EE3960
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0C49

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

Preview Lab → · Contrast checker → · Palette generator →

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