#3C0E4F#3C0E4F

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

Color values

HEX#3C0E4F
RGBrgb(60, 14, 79)
HSLhsl(282, 70%, 18%)
HSVhsv(282, 82%, 31%)
CMYKcmyk(24.1%, 82.3%, 0%, 69%)
CIE-LABlab(14.62, 33.27, -29.44)
CIE-LCHlch(14.62, 44.43, 318.49°)
OKLaboklab(27.88% 0.0796 -0.0832)
OKLCHoklch(27.88% 0.115 313.7)
XYZxyz(3.4316, 1.8394, 7.5699)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0E4F #214F0E
analogous
#1C0E4F #3C0E4F #4F0E41
triadic
#3C0E4F #4F3C0E #0E4F3C
tetradic
#3C0E4F #4F1C0E #214F0E #0E414F
square
#3C0E4F #4F1C0E #214F0E #0E414F
split-complementary
#3C0E4F #414F0E #0E4F1C
monochromatic
#14051A #15051B #3C0E4F #631783 #8B20B7

Accessibility & contrast

On white

15.35
#3C0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3C0E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0E4F
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0E4F#FFFFFF#000000##FFFFFF
##3C0E4F1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c0e4f;
/* rgb */ color: rgb(60, 14, 79);
/* oklch */ color: oklch(27.9% 0.115 313.7);
Tailwind
colors: {
  custom: {
    50: '#755281',
    500: '#3c0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #3c0e4f;
$custom-light: #755281;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0e4f",
  "rgb": {
    "r": 60,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 282.462,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27882,
    "c": 0.11513,
    "h": 313.7
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#3C0E4F
secondary
#4A8A2F
accent
#ED3B6F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3C0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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