#3C0D51#3C0D51

#3C0D51 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.9% C 0.118 H 312.7°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#3C0D51
RGBrgb(60, 13, 81)
HSLhsl(281, 72%, 18%)
HSVhsv(281, 84%, 32%)
CMYKcmyk(25.9%, 84%, 0%, 68.2%)
CIE-LABlab(14.64, 34.16, -30.78)
CIE-LCHlch(14.64, 45.98, 317.98°)
OKLaboklab(27.95% 0.0802 -0.0871)
OKLCHoklch(27.95% 0.118 312.7)
XYZxyz(3.4923, 1.8427, 7.9547)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D51 #22510D
analogous
#1A0D51 #3C0D51 #510D44
triadic
#3C0D51 #513C0D #0D513C
tetradic
#3C0D51 #511A0D #22510D #0D4451
square
#3C0D51 #511A0D #22510D #0D4451
split-complementary
#3C0D51 #44510D #0D511A
monochromatic
#14041A #15051C #3C0D51 #631586 #8A1EBA

Accessibility & contrast

On white

15.34
#3C0D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0D51
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D51#FFFFFF#000000##FFFFFF
##3C0D511.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002353
Deuteranopia (green-blind)
#042650
Tritanopia (blue-blind)
#3A1D2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c0d51;
/* rgb */ color: rgb(60, 13, 81);
/* oklch */ color: oklch(27.9% 0.118 312.7);
Tailwind
colors: {
  custom: {
    50: '#755282',
    500: '#3c0d51',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d51;
$custom-light: #755282;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d51",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 81
  },
  "hsl": {
    "h": 281.471,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27946,
    "c": 0.11842,
    "h": 312.7
  },
  "luminance": 0.01843
}

Semantic roles & 50–950 ramp

primary
#3C0D51
secondary
#4B8C2E
accent
#EF3971
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3C0D51

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

Preview Lab → · Contrast checker → · Palette generator →

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