#3C0C53#3C0C53

#3C0C53 is a dark, vivid purple. Relative luminance 0.018; OKLCH L 28.0% C 0.122 H 311.6°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#3C0C53
RGBrgb(60, 12, 83)
HSLhsl(281, 75%, 19%)
HSVhsv(281, 86%, 33%)
CMYKcmyk(27.7%, 85.5%, 0%, 67.5%)
CIE-LABlab(14.67, 35.03, -32.10)
CIE-LCHlch(14.67, 47.51, 317.50°)
OKLaboklab(28.02% 0.0808 -0.0909)
OKLCHoklch(28.02% 0.122 311.6)
XYZxyz(3.5560, 1.8482, 8.3514)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0C53 #23530C
analogous
#180C53 #3C0C53 #530C46
triadic
#3C0C53 #533C0C #0C533C
tetradic
#3C0C53 #53180C #23530C #0C4653
square
#3C0C53 #53180C #23530C #0C4653
split-complementary
#3C0C53 #46530C #0C5318
monochromatic
#13041B #15041E #3C0C53 #631488 #891BBE

Accessibility & contrast

On white

15.33
#3C0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0C53
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0C53#FFFFFF#000000##FFFFFF
##3C0C531.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c0c53;
/* rgb */ color: rgb(60, 12, 83);
/* oklch */ color: oklch(28.0% 0.122 311.6);
Tailwind
colors: {
  custom: {
    50: '#755284',
    500: '#3c0c53',
    950: '#000000',
  },
}
SCSS
$custom: #3c0c53;
$custom-light: #755284;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0c53",
  "rgb": {
    "r": 60,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 280.563,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28021,
    "c": 0.12163,
    "h": 311.6
  },
  "luminance": 0.01848
}

Semantic roles & 50–950 ramp

primary
#3C0C53
secondary
#4C8E2D
accent
#F13673
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3C0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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