#3C0648#3C0648

#3C0648 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.117 H 319.2°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#3C0648
RGBrgb(60, 6, 72)
HSLhsl(289, 85%, 15%)
HSVhsv(289, 92%, 28%)
CMYKcmyk(16.7%, 91.7%, 0%, 71.8%)
CIE-LABlab(12.98, 34.81, -27.26)
CIE-LCHlch(12.98, 44.22, 321.94°)
OKLaboklab(26.55% 0.0889 -0.0767)
OKLCHoklch(26.55% 0.117 319.2)
XYZxyz(3.0981, 1.5589, 6.2674)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0648 #124806
analogous
#1B0648 #3C0648 #480633
triadic
#3C0648 #483C06 #06483C
tetradic
#3C0648 #481B06 #124806 #063348
square
#3C0648 #481B06 #124806 #063348
split-complementary
#3C0648 #334806 #06481B
monochromatic
#18021C #18021C #3C0648 #6B0B80 #9A0FB9

Accessibility & contrast

On white

16.01
#3C0648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3C0648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0648
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0648#FFFFFF#000000##FFFFFF
##3C06481.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#0B2347
Tritanopia (blue-blind)
#3C1528
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3c0648;
/* rgb */ color: rgb(60, 6, 72);
/* oklch */ color: oklch(26.5% 0.117 319.2);
Tailwind
colors: {
  custom: {
    50: '#754e7b',
    500: '#3c0648',
    950: '#000000',
  },
}
SCSS
$custom: #3c0648;
$custom-light: #754e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0648",
  "rgb": {
    "r": 60,
    "g": 6,
    "b": 72
  },
  "hsl": {
    "h": 289.091,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26546,
    "c": 0.11738,
    "h": 319.2
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#3C0648
secondary
#358723
accent
#FB2D52
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3C0648

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

Preview Lab → · Contrast checker → · Palette generator →

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