#3C0847#3C0847

#3C0847 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.114 H 319.7°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#3C0847
RGBrgb(60, 8, 71)
HSLhsl(290, 80%, 15%)
HSVhsv(290, 89%, 28%)
CMYKcmyk(15.5%, 88.7%, 0%, 72.2%)
CIE-LABlab(13.17, 33.82, -26.26)
CIE-LCHlch(13.17, 42.82, 322.17°)
OKLaboklab(26.65% 0.087 -0.0738)
OKLCHoklch(26.65% 0.114 319.7)
XYZxyz(3.0875, 1.5894, 6.1042)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0847 #134708
analogous
#1C0847 #3C0847 #470832
triadic
#3C0847 #473C08 #08473C
tetradic
#3C0847 #471C08 #134708 #083247
square
#3C0847 #471C08 #134708 #083247
split-complementary
#3C0847 #324708 #08471C
monochromatic
#17031C #17031C #3C0847 #6A0E7E #9914B5

Accessibility & contrast

On white

15.94
#3C0847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3C0847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0847
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0847#FFFFFF#000000##FFFFFF
##3C08471.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#0E2446
Tritanopia (blue-blind)
#3C1628
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3c0847;
/* rgb */ color: rgb(60, 8, 71);
/* oklch */ color: oklch(26.7% 0.114 319.7);
Tailwind
colors: {
  custom: {
    50: '#754f7b',
    500: '#3c0847',
    950: '#000000',
  },
}
SCSS
$custom: #3c0847;
$custom-light: #754f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0847",
  "rgb": {
    "r": 60,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 289.524,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26652,
    "c": 0.11408,
    "h": 319.7
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#3C0847
secondary
#368526
accent
#F63254
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0847

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

Preview Lab → · Contrast checker → · Palette generator →

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