#3C0E52#3C0E52

#3C0E52 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.118 H 311.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#3C0E52
RGBrgb(60, 14, 82)
HSLhsl(281, 71%, 19%)
HSVhsv(281, 83%, 32%)
CMYKcmyk(26.8%, 82.9%, 0%, 67.8%)
CIE-LABlab(14.87, 33.98, -31.10)
CIE-LCHlch(14.87, 46.06, 317.54°)
OKLaboklab(28.13% 0.079 -0.088)
OKLCHoklch(28.13% 0.118 311.9)
XYZxyz(3.5432, 1.8840, 8.1580)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0E52 #24520E
analogous
#1A0E52 #3C0E52 #520E46
triadic
#3C0E52 #523C0E #0E523C
tetradic
#3C0E52 #521A0E #24520E #0E4652
square
#3C0E52 #521A0E #24520E #0E4652
split-complementary
#3C0E52 #46520E #0E521A
monochromatic
#13041A #16051E #3C0E52 #621786 #8920BB

Accessibility & contrast

On white

15.25
#3C0E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3C0E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0E52
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0E52#FFFFFF#000000##FFFFFF
##3C0E521.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#042651
Tritanopia (blue-blind)
#391E2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c0e52;
/* rgb */ color: rgb(60, 14, 82);
/* oklch */ color: oklch(28.1% 0.118 311.9);
Tailwind
colors: {
  custom: {
    50: '#755283',
    500: '#3c0e52',
    950: '#000000',
  },
}
SCSS
$custom: #3c0e52;
$custom-light: #755283;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0e52",
  "rgb": {
    "r": 60,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 280.588,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28133,
    "c": 0.11829,
    "h": 311.9
  },
  "luminance": 0.01884
}

Semantic roles & 50–950 ramp

primary
#3C0E52
secondary
#4D8C2F
accent
#EE3A74
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3C0E52

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

Preview Lab → · Contrast checker → · Palette generator →

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