#3C0E48#3C0E48

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

Color values

HEX#3C0E48
RGBrgb(60, 14, 72)
HSLhsl(288, 67%, 17%)
HSVhsv(288, 81%, 28%)
CMYKcmyk(16.7%, 80.6%, 0%, 71.8%)
CIE-LABlab(14.08, 31.65, -25.49)
CIE-LCHlch(14.08, 40.64, 321.15°)
OKLaboklab(27.32% 0.0806 -0.0716)
OKLCHoklch(27.32% 0.108 318.4)
XYZxyz(3.1901, 1.7428, 6.2980)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0E48 #1A480E
analogous
#1F0E48 #3C0E48 #480E37
triadic
#3C0E48 #483C0E #0E483C
tetradic
#3C0E48 #481F0E #1A480E #0E3748
square
#3C0E48 #481F0E #1A480E #0E3748
split-complementary
#3C0E48 #37480E #0E481F
monochromatic
#15051A #15051A #3C0E48 #67187B #9122AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C0E48#FFFFFF#000000##FFFFFF
##3C0E481.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)
#00214A
Deuteranopia (green-blind)
#112547
Tritanopia (blue-blind)
#3C1A2A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c0e48;
/* rgb */ color: rgb(60, 14, 72);
/* oklch */ color: oklch(27.3% 0.108 318.4);
Tailwind
colors: {
  custom: {
    50: '#74527b',
    500: '#3c0e48',
    950: '#000000',
  },
}
SCSS
$custom: #3c0e48;
$custom-light: #74527b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0e48",
  "rgb": {
    "r": 60,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 287.586,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27321,
    "c": 0.1078,
    "h": 318.4
  },
  "luminance": 0.01743
}

Semantic roles & 50–950 ramp

primary
#3C0E48
secondary
#40832F
accent
#EA3D61
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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