#3C0647#3C0647

#3C0647 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.5% C 0.116 H 319.9°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#3C0647
RGBrgb(60, 6, 71)
HSLhsl(290, 84%, 15%)
HSVhsv(290, 92%, 28%)
CMYKcmyk(15.5%, 91.5%, 0%, 72.2%)
CIE-LABlab(12.90, 34.60, -26.69)
CIE-LCHlch(12.90, 43.70, 322.35°)
OKLaboklab(26.46% 0.0891 -0.075)
OKLCHoklch(26.46% 0.116 319.9)
XYZxyz(3.0658, 1.5460, 6.0969)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0647 #114706
analogous
#1B0647 #3C0647 #470632
triadic
#3C0647 #473C06 #06473C
tetradic
#3C0647 #471B06 #114706 #063247
square
#3C0647 #471B06 #114706 #063247
split-complementary
#3C0647 #324706 #06471B
monochromatic
#18021C #18021C #3C0647 #6C0B7F #9B10B8

Accessibility & contrast

On white

16.04
#3C0647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0647
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0647#FFFFFF#000000##FFFFFF
##3C06471.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c0647;
/* rgb */ color: rgb(60, 6, 71);
/* oklch */ color: oklch(26.5% 0.116 319.9);
Tailwind
colors: {
  custom: {
    50: '#754e7b',
    500: '#3c0647',
    950: '#000000',
  },
}
SCSS
$custom: #3c0647;
$custom-light: #754e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0647",
  "rgb": {
    "r": 60,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 289.846,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26464,
    "c": 0.11645,
    "h": 319.9
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#3C0647
secondary
#338623
accent
#FB2D50
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3C0647

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

Preview Lab → · Contrast checker → · Palette generator →

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