#3C0846#3C0846

#3C0846 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.113 H 320.4°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#3C0846
RGBrgb(60, 8, 70)
HSLhsl(290, 79%, 15%)
HSVhsv(290, 89%, 27%)
CMYKcmyk(14.3%, 88.6%, 0%, 72.5%)
CIE-LABlab(13.09, 33.61, -25.69)
CIE-LCHlch(13.09, 42.30, 322.61°)
OKLaboklab(26.57% 0.0872 -0.0721)
OKLCHoklch(26.57% 0.113 320.4)
XYZxyz(3.0557, 1.5767, 5.9365)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0846 #124608
analogous
#1D0846 #3C0846 #460831
triadic
#3C0846 #463C08 #08463C
tetradic
#3C0846 #461D08 #124608 #083146
square
#3C0846 #461D08 #124608 #083146
split-complementary
#3C0846 #314608 #08461D
monochromatic
#18031B #18031B #3C0846 #6B0E7D #9A15B4

Accessibility & contrast

On white

15.96
#3C0846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0846
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0846#FFFFFF#000000##FFFFFF
##3C08461.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#0F2345
Tritanopia (blue-blind)
#3C1527
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3c0846;
/* rgb */ color: rgb(60, 8, 70);
/* oklch */ color: oklch(26.6% 0.113 320.4);
Tailwind
colors: {
  custom: {
    50: '#744f7a',
    500: '#3c0846',
    950: '#000000',
  },
}
SCSS
$custom: #3c0846;
$custom-light: #744f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0846",
  "rgb": {
    "r": 60,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 290.323,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26573,
    "c": 0.11312,
    "h": 320.4
  },
  "luminance": 0.01577
}

Semantic roles & 50–950 ramp

primary
#3C0846
secondary
#358426
accent
#F63251
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0846

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

Preview Lab → · Contrast checker → · Palette generator →

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