#3C0C54#3C0C54

#3C0C54 is a dark, vivid purple. Relative luminance 0.019; OKLCH L 28.1% C 0.123 H 311.0°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#3C0C54
RGBrgb(60, 12, 84)
HSLhsl(280, 75%, 19%)
HSVhsv(280, 86%, 33%)
CMYKcmyk(28.6%, 85.7%, 0%, 67.1%)
CIE-LABlab(14.76, 35.27, -32.64)
CIE-LCHlch(14.76, 48.05, 317.22°)
OKLaboklab(28.11% 0.0805 -0.0925)
OKLCHoklch(28.11% 0.123 311)
XYZxyz(3.5949, 1.8638, 8.5562)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0C54 #24540C
analogous
#180C54 #3C0C54 #540C48
triadic
#3C0C54 #543C0C #0C543C
tetradic
#3C0C54 #54180C #24540C #0C4854
square
#3C0C54 #54180C #24540C #0C4854
split-complementary
#3C0C54 #48540C #0C5418
monochromatic
#13041B #16041E #3C0C54 #62148A #891BBF

Accessibility & contrast

On white

15.30
#3C0C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3C0C54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0C54
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0C54#FFFFFF#000000##FFFFFF
##3C0C541.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#391E30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c0c54;
/* rgb */ color: rgb(60, 12, 84);
/* oklch */ color: oklch(28.1% 0.123 311.0);
Tailwind
colors: {
  custom: {
    50: '#755285',
    500: '#3c0c54',
    950: '#000000',
  },
}
SCSS
$custom: #3c0c54;
$custom-light: #755285;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0c54",
  "rgb": {
    "r": 60,
    "g": 12,
    "b": 84
  },
  "hsl": {
    "h": 280,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28108,
    "c": 0.12266,
    "h": 311
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#3C0C54
secondary
#4D8F2D
accent
#F23675
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3C0C54

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

Preview Lab → · Contrast checker → · Palette generator →

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