#3C0546#3C0546

#3C0546 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.117 H 320.7°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#3C0546
RGBrgb(60, 5, 70)
HSLhsl(291, 87%, 15%)
HSVhsv(291, 93%, 27%)
CMYKcmyk(14.3%, 92.9%, 0%, 72.5%)
CIE-LABlab(12.68, 34.79, -26.34)
CIE-LCHlch(12.68, 43.64, 322.87°)
OKLaboklab(26.29% 0.0903 -0.074)
OKLCHoklch(26.29% 0.117 320.7)
XYZxyz(3.0231, 1.5116, 5.9257)
Luminance0.0151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0546 #0F4605
analogous
#1B0546 #3C0546 #460530
triadic
#3C0546 #463C05 #05463C
tetradic
#3C0546 #461B05 #0F4605 #053046
square
#3C0546 #461B05 #0F4605 #053046
split-complementary
#3C0546 #304605 #05461B
monochromatic
#18021D #18021D #3C0546 #6D097F #9E0DB8

Accessibility & contrast

On white

16.13
#3C0546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0546
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0546#FFFFFF#000000##FFFFFF
##3C05461.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c0546;
/* rgb */ color: rgb(60, 5, 70);
/* oklch */ color: oklch(26.3% 0.117 320.7);
Tailwind
colors: {
  custom: {
    50: '#754e7a',
    500: '#3c0546',
    950: '#000000',
  },
}
SCSS
$custom: #3c0546;
$custom-light: #754e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0546",
  "rgb": {
    "r": 60,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 290.769,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26287,
    "c": 0.11674,
    "h": 320.7
  },
  "luminance": 0.01511
}

Semantic roles & 50–950 ramp

primary
#3C0546
secondary
#308621
accent
#FD2B4B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3C0546

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

Preview Lab → · Contrast checker → · Palette generator →

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