#3C0642#3C0642

#3C0642 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.112 H 323.5°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#3C0642
RGBrgb(60, 6, 66)
HSLhsl(294, 83%, 14%)
HSVhsv(294, 91%, 26%)
CMYKcmyk(9.1%, 90.9%, 0%, 74.1%)
CIE-LABlab(12.51, 33.57, -23.81)
CIE-LCHlch(12.51, 41.16, 324.65°)
OKLaboklab(26.07% 0.0899 -0.0666)
OKLCHoklch(26.07% 0.112 323.5)
XYZxyz(2.9119, 1.4844, 5.2864)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0642 #0C4206
analogous
#1E0642 #3C0642 #42062A
triadic
#3C0642 #423C06 #06423C
tetradic
#3C0642 #421E06 #0C4206 #062A42
square
#3C0642 #421E06 #0C4206 #062A42
split-complementary
#3C0642 #2A4206 #06421E
monochromatic
#19031C #19031C #3C0642 #6F0B7A #A210B2

Accessibility & contrast

On white

16.19
#3C0642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3C0642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0642
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0642#FFFFFF#000000##FFFFFF
##3C06421.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D44
Deuteranopia (green-blind)
#112341
Tritanopia (blue-blind)
#3D1224
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3c0642;
/* rgb */ color: rgb(60, 6, 66);
/* oklch */ color: oklch(26.1% 0.112 323.5);
Tailwind
colors: {
  custom: {
    50: '#744e77',
    500: '#3c0642',
    950: '#000000',
  },
}
SCSS
$custom: #3c0642;
$custom-light: #744e77;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0642",
  "rgb": {
    "r": 60,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 294,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26067,
    "c": 0.11185,
    "h": 323.5
  },
  "luminance": 0.01484
}

Semantic roles & 50–950 ramp

primary
#3C0642
secondary
#2C8222
accent
#FA2E43
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0642

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

Preview Lab → · Contrast checker → · Palette generator →

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