#3C0C4E#3C0C4E

#3C0C4E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.116 H 314.6°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#3C0C4E
RGBrgb(60, 12, 78)
HSLhsl(284, 73%, 18%)
HSVhsv(284, 85%, 31%)
CMYKcmyk(23.1%, 84.6%, 0%, 69.4%)
CIE-LABlab(14.25, 33.86, -29.35)
CIE-LCHlch(14.25, 44.81, 319.08°)
OKLaboklab(27.6% 0.0818 -0.0829)
OKLCHoklch(27.6% 0.116 314.6)
XYZxyz(3.3699, 1.7738, 7.3711)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0C4E #1E4E0C
analogous
#1B0C4E #3C0C4E #4E0C3F
triadic
#3C0C4E #4E3C0C #0C4E3C
tetradic
#3C0C4E #4E1B0C #1E4E0C #0C3F4E
square
#3C0C4E #4E1B0C #1E4E0C #0C3F4E
split-complementary
#3C0C4E #3F4E0C #0C4E1B
monochromatic
#14041B #14041B #3C0C4E #651483 #8E1CB8

Accessibility & contrast

On white

15.50
#3C0C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0C4E
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0C4E#FFFFFF#000000##FFFFFF
##3C0C4E1.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#08254D
Tritanopia (blue-blind)
#3A1B2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c0c4e;
/* rgb */ color: rgb(60, 12, 78);
/* oklch */ color: oklch(27.6% 0.116 314.6);
Tailwind
colors: {
  custom: {
    50: '#755180',
    500: '#3c0c4e',
    950: '#000000',
  },
}
SCSS
$custom: #3c0c4e;
$custom-light: #755180;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0c4e",
  "rgb": {
    "r": 60,
    "g": 12,
    "b": 78
  },
  "hsl": {
    "h": 283.636,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27596,
    "c": 0.11648,
    "h": 314.6
  },
  "luminance": 0.01774
}

Semantic roles & 50–950 ramp

primary
#3C0C4E
secondary
#468A2C
accent
#F0386A
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3C0C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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