#3C0D48#3C0D48

#3C0D48 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.109 H 318.5°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#3C0D48
RGBrgb(60, 13, 72)
HSLhsl(288, 69%, 17%)
HSVhsv(288, 82%, 28%)
CMYKcmyk(16.7%, 81.9%, 0%, 71.8%)
CIE-LABlab(13.92, 32.08, -25.74)
CIE-LCHlch(13.92, 41.13, 321.26°)
OKLaboklab(27.21% 0.0817 -0.0723)
OKLCHoklch(27.21% 0.109 318.5)
XYZxyz(3.1769, 1.7165, 6.2936)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D48 #19480D
analogous
#1F0D48 #3C0D48 #480D37
triadic
#3C0D48 #483C0D #0D483C
tetradic
#3C0D48 #481F0D #19480D #0D3748
square
#3C0D48 #481F0D #19480D #0D3748
split-complementary
#3C0D48 #37480D #0D481F
monochromatic
#16051A #16051A #3C0D48 #67167C #9220B0

Accessibility & contrast

On white

15.63
#3C0D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3C0D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0D48
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D48#FFFFFF#000000##FFFFFF
##3C0D481.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#102547
Tritanopia (blue-blind)
#3C192A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3c0d48;
/* rgb */ color: rgb(60, 13, 72);
/* oklch */ color: oklch(27.2% 0.109 318.5);
Tailwind
colors: {
  custom: {
    50: '#74517b',
    500: '#3c0d48',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d48;
$custom-light: #74517b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d48",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 287.797,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27213,
    "c": 0.10911,
    "h": 318.5
  },
  "luminance": 0.01716
}

Semantic roles & 50–950 ramp

primary
#3C0D48
secondary
#3F832D
accent
#EC3C60
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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