#3C0547#3C0547

#3C0547 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.4% C 0.118 H 320.0°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#3C0547
RGBrgb(60, 5, 71)
HSLhsl(290, 87%, 15%)
HSVhsv(290, 93%, 28%)
CMYKcmyk(15.5%, 93%, 0%, 72.2%)
CIE-LABlab(12.76, 35.00, -26.91)
CIE-LCHlch(12.76, 44.15, 322.44°)
OKLaboklab(26.37% 0.0901 -0.0757)
OKLCHoklch(26.37% 0.118 320)
XYZxyz(3.0549, 1.5243, 6.0933)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0547 #104705
analogous
#1B0547 #3C0547 #470531
triadic
#3C0547 #473C05 #05473C
tetradic
#3C0547 #471B05 #104705 #053147
square
#3C0547 #471B05 #104705 #053147
split-complementary
#3C0547 #314705 #05471B
monochromatic
#18021D #18021D #3C0547 #6C0980 #9D0DB9

Accessibility & contrast

On white

16.09
#3C0547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3C0547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0547
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0547#FFFFFF#000000##FFFFFF
##3C05471.0016.091.3016.09
#FFFFFF16.091.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#0C2346
Tritanopia (blue-blind)
#3C1427
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3c0547;
/* rgb */ color: rgb(60, 5, 71);
/* oklch */ color: oklch(26.4% 0.118 320.0);
Tailwind
colors: {
  custom: {
    50: '#754e7b',
    500: '#3c0547',
    950: '#000000',
  },
}
SCSS
$custom: #3c0547;
$custom-light: #754e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0547",
  "rgb": {
    "r": 60,
    "g": 5,
    "b": 71
  },
  "hsl": {
    "h": 290,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26369,
    "c": 0.11765,
    "h": 320
  },
  "luminance": 0.01524
}

Semantic roles & 50–950 ramp

primary
#3C0547
secondary
#328721
accent
#FD2B4E
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3C0547

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

Preview Lab → · Contrast checker → · Palette generator →

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