#3C0D4E#3C0D4E

#3C0D4E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.115 H 314.5°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#3C0D4E
RGBrgb(60, 13, 78)
HSLhsl(283, 71%, 18%)
HSVhsv(283, 83%, 31%)
CMYKcmyk(23.1%, 83.3%, 0%, 69.4%)
CIE-LABlab(14.39, 33.45, -29.13)
CIE-LCHlch(14.39, 44.36, 318.96°)
OKLaboklab(27.69% 0.0808 -0.0822)
OKLCHoklch(27.69% 0.115 314.5)
XYZxyz(3.3823, 1.7987, 7.3753)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D4E #1F4E0D
analogous
#1C0D4E #3C0D4E #4E0D3F
triadic
#3C0D4E #4E3C0D #0D4E3C
tetradic
#3C0D4E #4E1C0D #1F4E0D #0D3F4E
square
#3C0D4E #4E1C0D #1F4E0D #0D3F4E
split-complementary
#3C0D4E #3F4E0D #0D4E1C
monochromatic
#14041A #14041A #3C0D4E #641682 #8D1EB7

Accessibility & contrast

On white

15.44
#3C0D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3C0D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0D4E
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D4E#FFFFFF#000000##FFFFFF
##3C0D4E1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#09264D
Tritanopia (blue-blind)
#3A1C2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c0d4e;
/* rgb */ color: rgb(60, 13, 78);
/* oklch */ color: oklch(27.7% 0.115 314.5);
Tailwind
colors: {
  custom: {
    50: '#755280',
    500: '#3c0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d4e;
$custom-light: #755280;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d4e",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 283.385,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27695,
    "c": 0.1153,
    "h": 314.5
  },
  "luminance": 0.01799
}

Semantic roles & 50–950 ramp

primary
#3C0D4E
secondary
#47892E
accent
#EE3A6C
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3C0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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