#3C0F52#3C0F52

#3C0F52 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.117 H 311.8°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#3C0F52
RGBrgb(60, 15, 82)
HSLhsl(280, 69%, 19%)
HSVhsv(280, 82%, 32%)
CMYKcmyk(26.8%, 81.7%, 0%, 67.8%)
CIE-LABlab(15.02, 33.55, -30.85)
CIE-LCHlch(15.02, 45.58, 317.40°)
OKLaboklab(28.24% 0.078 -0.0873)
OKLCHoklch(28.24% 0.117 311.8)
XYZxyz(3.5570, 1.9116, 8.1626)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F52 #25520F
analogous
#1B0F52 #3C0F52 #520F47
triadic
#3C0F52 #523C0F #0F523C
tetradic
#3C0F52 #521B0F #25520F #0F4752
square
#3C0F52 #521B0F #25520F #0F4752
split-complementary
#3C0F52 #47520F #0F521B
monochromatic
#13051A #16061E #3C0F52 #621886 #8822B9

Accessibility & contrast

On white

15.19
#3C0F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0F52
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F52#FFFFFF#000000##FFFFFF
##3C0F521.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#052751
Tritanopia (blue-blind)
#391F30
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c0f52;
/* rgb */ color: rgb(60, 15, 82);
/* oklch */ color: oklch(28.2% 0.117 311.8);
Tailwind
colors: {
  custom: {
    50: '#755383',
    500: '#3c0f52',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f52;
$custom-light: #755383;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f52",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 280.299,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28239,
    "c": 0.11708,
    "h": 311.8
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#3C0F52
secondary
#4F8C31
accent
#EC3C76
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C0F52

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

Preview Lab → · Contrast checker → · Palette generator →

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