#3C0D42#3C0D42

#3C0D42 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.8% C 0.103 H 323.0°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#3C0D42
RGBrgb(60, 13, 66)
HSLhsl(293, 67%, 15%)
HSVhsv(293, 80%, 26%)
CMYKcmyk(9.1%, 80.3%, 0%, 74.1%)
CIE-LABlab(13.48, 30.77, -22.25)
CIE-LCHlch(13.48, 37.97, 324.13°)
OKLaboklab(26.76% 0.0822 -0.0621)
OKLCHoklch(26.76% 0.103 323)
XYZxyz(2.9907, 1.6420, 5.3126)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D42 #13420D
analogous
#210D42 #3C0D42 #420D2D
triadic
#3C0D42 #423C0D #0D423C
tetradic
#3C0D42 #42210D #13420D #0D2D42
square
#3C0D42 #42210D #13420D #0D2D42
split-complementary
#3C0D42 #2D420D #0D4221
monochromatic
#17051A #17051A #3C0D42 #6A1775 #9921A8

Accessibility & contrast

On white

15.81
#3C0D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3C0D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0D42
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D42#FFFFFF#000000##FFFFFF
##3C0D421.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F43
Deuteranopia (green-blind)
#152441
Tritanopia (blue-blind)
#3D1626
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3c0d42;
/* rgb */ color: rgb(60, 13, 66);
/* oklch */ color: oklch(26.8% 0.103 323.0);
Tailwind
colors: {
  custom: {
    50: '#745177',
    500: '#3c0d42',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d42;
$custom-light: #745177;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d42",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 293.208,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26759,
    "c": 0.10304,
    "h": 323
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#3C0D42
secondary
#367E2D
accent
#EA3E51
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0D42

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

Preview Lab → · Contrast checker → · Palette generator →

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