#3C0D3E#3C0D3E

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

Color values

HEX#3C0D3E
RGBrgb(60, 13, 62)
HSLhsl(298, 65%, 15%)
HSVhsv(298, 79%, 24%)
CMYKcmyk(3.2%, 79%, 0%, 75.7%)
CIE-LABlab(13.21, 29.92, -19.86)
CIE-LCHlch(13.21, 35.91, 326.42°)
OKLaboklab(26.47% 0.0823 -0.0551)
OKLCHoklch(26.47% 0.099 326.2)
XYZxyz(2.8768, 1.5965, 4.7131)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D3E #0F3E0D
analogous
#240D3E #3C0D3E #3E0D28
triadic
#3C0D3E #3E3C0D #0D3E3C
tetradic
#3C0D3E #3E240D #0F3E0D #0D283E
square
#3C0D3E #3E240D #0F3E0D #0D283E
split-complementary
#3C0D3E #283E0D #0D3E24
monochromatic
#180519 #180519 #3C0D3E #6D1871 #9E22A3

Accessibility & contrast

On white

15.92
#3C0D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0D3E
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D3E#FFFFFF#000000##FFFFFF
##3C0D3E1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3F
Deuteranopia (green-blind)
#18243D
Tritanopia (blue-blind)
#3E1524
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3c0d3e;
/* rgb */ color: rgb(60, 13, 62);
/* oklch */ color: oklch(26.5% 0.099 326.2);
Tailwind
colors: {
  custom: {
    50: '#745173',
    500: '#3c0d3e',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d3e;
$custom-light: #745173;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d3e",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 297.551,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26474,
    "c": 0.09908,
    "h": 326.2
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#3C0D3E
secondary
#307A2D
accent
#E84046
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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