#3C0D4A#3C0D4A

#3C0D4A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.111 H 317.1°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#3C0D4A
RGBrgb(60, 13, 74)
HSLhsl(286, 70%, 17%)
HSVhsv(286, 82%, 29%)
CMYKcmyk(18.9%, 82.4%, 0%, 71%)
CIE-LABlab(14.08, 32.53, -26.88)
CIE-LCHlch(14.08, 42.20, 320.44°)
OKLaboklab(27.37% 0.0815 -0.0756)
OKLCHoklch(27.37% 0.111 317.1)
XYZxyz(3.2433, 1.7431, 6.6428)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D4A #1B4A0D
analogous
#1E0D4A #3C0D4A #4A0D3A
triadic
#3C0D4A #4A3C0D #0D4A3C
tetradic
#3C0D4A #4A1E0D #1B4A0D #0D3A4A
square
#3C0D4A #4A1E0D #1B4A0D #0D3A4A
split-complementary
#3C0D4A #3A4A0D #0D4A1E
monochromatic
#15051A #15051A #3C0D4A #66167E #901FB2

Accessibility & contrast

On white

15.57
#3C0D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3C0D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0D4A
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D4A#FFFFFF#000000##FFFFFF
##3C0D4A1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#0E2549
Tritanopia (blue-blind)
#3B1A2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c0d4a;
/* rgb */ color: rgb(60, 13, 74);
/* oklch */ color: oklch(27.4% 0.111 317.1);
Tailwind
colors: {
  custom: {
    50: '#74517d',
    500: '#3c0d4a',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d4a;
$custom-light: #74517d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d4a",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 286.23,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27371,
    "c": 0.11117,
    "h": 317.1
  },
  "luminance": 0.01743
}

Semantic roles & 50–950 ramp

primary
#3C0D4A
secondary
#42852E
accent
#ED3B64
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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