#3C0845#3C0845

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

Color values

HEX#3C0845
RGBrgb(60, 8, 69)
HSLhsl(291, 79%, 15%)
HSVhsv(291, 88%, 27%)
CMYKcmyk(13%, 88.4%, 0%, 72.9%)
CIE-LABlab(13.01, 33.40, -25.11)
CIE-LCHlch(13.01, 41.78, 323.06°)
OKLaboklab(26.49% 0.0873 -0.0704)
OKLCHoklch(26.49% 0.112 321.1)
XYZxyz(3.0244, 1.5642, 5.7717)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0845 #114508
analogous
#1E0845 #3C0845 #45082F
triadic
#3C0845 #453C08 #08453C
tetradic
#3C0845 #451E08 #114508 #082F45
square
#3C0845 #451E08 #114508 #082F45
split-complementary
#3C0845 #2F4508 #08451E
monochromatic
#18031B #18031B #3C0845 #6C0E7C #9B15B3

Accessibility & contrast

On white

16.00
#3C0845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0845
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0845#FFFFFF#000000##FFFFFF
##3C08451.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#102344
Tritanopia (blue-blind)
#3C1527
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3c0845;
/* rgb */ color: rgb(60, 8, 69);
/* oklch */ color: oklch(26.5% 0.112 321.1);
Tailwind
colors: {
  custom: {
    50: '#744f79',
    500: '#3c0845',
    950: '#000000',
  },
}
SCSS
$custom: #3c0845;
$custom-light: #744f79;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0845",
  "rgb": {
    "r": 60,
    "g": 8,
    "b": 69
  },
  "hsl": {
    "h": 291.148,
    "s": 79.221,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26494,
    "c": 0.11217,
    "h": 321.1
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#3C0845
secondary
#338326
accent
#F6324F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0845

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

Preview Lab → · Contrast checker → · Palette generator →

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