#3C154A#3C154A

#3C154A is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.3% C 0.100 H 315.9°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3C154A
RGBrgb(60, 21, 74)
HSLhsl(284, 56%, 19%)
HSVhsv(284, 72%, 29%)
CMYKcmyk(18.9%, 71.6%, 0%, 71%)
CIE-LABlab(15.44, 28.69, -24.69)
CIE-LCHlch(15.44, 37.85, 319.29°)
OKLaboklab(28.35% 0.0716 -0.0693)
OKLCHoklch(28.35% 0.1 315.9)
XYZxyz(3.3675, 1.9915, 6.6843)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C154A #234A15
analogous
#21154A #3C154A #4A153D
triadic
#3C154A #4A3C15 #154A3C
tetradic
#3C154A #4A2115 #234A15 #153D4A
square
#3C154A #4A2115 #234A15 #153D4A
split-complementary
#3C154A #3D4A15 #154A21
monochromatic
#130718 #15071A #3C154A #63237A #8930A9

Accessibility & contrast

On white

15.02
#3C154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3C154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C154A
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C154A#FFFFFF#000000##FFFFFF
##3C154A1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02244C
Deuteranopia (green-blind)
#152849
Tritanopia (blue-blind)
#3B1F2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c154a;
/* rgb */ color: rgb(60, 21, 74);
/* oklch */ color: oklch(28.3% 0.100 315.9);
Tailwind
colors: {
  custom: {
    50: '#74557d',
    500: '#3c154a',
    950: '#000000',
  },
}
SCSS
$custom: #3c154a;
$custom-light: #74557d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c154a",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 284.151,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28348,
    "c": 0.0996,
    "h": 315.9
  },
  "luminance": 0.01991
}

Semantic roles & 50–950 ramp

primary
#3C154A
secondary
#4C8239
accent
#DF4970
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3C154A

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

Preview Lab → · Contrast checker → · Palette generator →

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