#3C0D4F#3C0D4F

#3C0D4F is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.116 H 313.9°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#3C0D4F
RGBrgb(60, 13, 79)
HSLhsl(283, 72%, 18%)
HSVhsv(283, 84%, 31%)
CMYKcmyk(24.1%, 83.5%, 0%, 69%)
CIE-LABlab(14.47, 33.69, -29.68)
CIE-LCHlch(14.47, 44.90, 318.62°)
OKLaboklab(27.78% 0.0807 -0.0838)
OKLCHoklch(27.78% 0.116 313.9)
XYZxyz(3.4184, 1.8131, 7.5655)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D4F #204F0D
analogous
#1B0D4F #3C0D4F #4F0D41
triadic
#3C0D4F #4F3C0D #0D4F3C
tetradic
#3C0D4F #4F1B0D #204F0D #0D414F
square
#3C0D4F #4F1B0D #204F0D #0D414F
split-complementary
#3C0D4F #414F0D #0D4F1B
monochromatic
#14041A #14041A #3C0D4F #641684 #8C1EB8

Accessibility & contrast

On white

15.41
#3C0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0D4F
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D4F#FFFFFF#000000##FFFFFF
##3C0D4F1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#07264E
Tritanopia (blue-blind)
#3A1C2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c0d4f;
/* rgb */ color: rgb(60, 13, 79);
/* oklch */ color: oklch(27.8% 0.116 313.9);
Tailwind
colors: {
  custom: {
    50: '#755281',
    500: '#3c0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d4f;
$custom-light: #755281;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d4f",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 282.727,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27778,
    "c": 0.11634,
    "h": 313.9
  },
  "luminance": 0.01813
}

Semantic roles & 50–950 ramp

primary
#3C0D4F
secondary
#488A2E
accent
#EE396D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3C0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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