#3C0F47#3C0F47

#3C0F47 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.4% C 0.105 H 319.0°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#3C0F47
RGBrgb(60, 15, 71)
HSLhsl(288, 65%, 17%)
HSVhsv(288, 79%, 28%)
CMYKcmyk(15.5%, 78.9%, 0%, 72.2%)
CIE-LABlab(14.16, 30.98, -24.66)
CIE-LCHlch(14.16, 39.60, 321.47°)
OKLaboklab(27.36% 0.0795 -0.0692)
OKLCHoklch(27.36% 0.105 319)
XYZxyz(3.1715, 1.7574, 6.1322)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F47 #1A470F
analogous
#200F47 #3C0F47 #470F36
triadic
#3C0F47 #473C0F #0F473C
tetradic
#3C0F47 #47200F #1A470F #0F3647
square
#3C0F47 #47200F #1A470F #0F3647
split-complementary
#3C0F47 #36470F #0F4720
monochromatic
#150519 #150519 #3C0F47 #671A7A #9124AC

Accessibility & contrast

On white

15.54
#3C0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3C0F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0F47
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F47#FFFFFF#000000##FFFFFF
##3C0F471.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#132546
Tritanopia (blue-blind)
#3C1A2A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c0f47;
/* rgb */ color: rgb(60, 15, 71);
/* oklch */ color: oklch(27.4% 0.105 319.0);
Tailwind
colors: {
  custom: {
    50: '#74527a',
    500: '#3c0f47',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f47;
$custom-light: #74527a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f47",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 288.214,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27357,
    "c": 0.10539,
    "h": 319
  },
  "luminance": 0.01757
}

Semantic roles & 50–950 ramp

primary
#3C0F47
secondary
#408130
accent
#E84061
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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