#3C0C46#3C0C46

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

Color values

HEX#3C0C46
RGBrgb(60, 12, 70)
HSLhsl(290, 71%, 16%)
HSVhsv(290, 83%, 27%)
CMYKcmyk(14.3%, 82.9%, 0%, 72.5%)
CIE-LABlab(13.63, 32.06, -24.82)
CIE-LCHlch(13.63, 40.54, 322.25°)
OKLaboklab(26.95% 0.0831 -0.0696)
OKLCHoklch(26.95% 0.108 320)
XYZxyz(3.1003, 1.6660, 5.9514)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0C46 #16460C
analogous
#1F0C46 #3C0C46 #460C33
triadic
#3C0C46 #463C0C #0C463C
tetradic
#3C0C46 #461F0C #16460C #0C3346
square
#3C0C46 #461F0C #16460C #0C3346
split-complementary
#3C0C46 #33460C #0C461F
monochromatic
#16041A #16041A #3C0C46 #69157A #961EAE

Accessibility & contrast

On white

15.75
#3C0C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3C0C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0C46
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0C46#FFFFFF#000000##FFFFFF
##3C0C461.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#112445
Tritanopia (blue-blind)
#3C1828
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3c0c46;
/* rgb */ color: rgb(60, 12, 70);
/* oklch */ color: oklch(27.0% 0.108 320.0);
Tailwind
colors: {
  custom: {
    50: '#74517a',
    500: '#3c0c46',
    950: '#000000',
  },
}
SCSS
$custom: #3c0c46;
$custom-light: #74517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0c46",
  "rgb": {
    "r": 60,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 289.655,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26954,
    "c": 0.10836,
    "h": 320
  },
  "luminance": 0.01666
}

Semantic roles & 50–950 ramp

primary
#3C0C46
secondary
#3B822C
accent
#ED3A59
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0C46

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

Preview Lab → · Contrast checker → · Palette generator →

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