#3C154C#3C154C

#3C154C is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.102 H 314.6°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#3C154C
RGBrgb(60, 21, 76)
HSLhsl(283, 57%, 19%)
HSVhsv(283, 72%, 30%)
CMYKcmyk(21.1%, 72.4%, 0%, 70.2%)
CIE-LABlab(15.59, 29.18, -25.83)
CIE-LCHlch(15.59, 38.97, 318.48°)
OKLaboklab(28.5% 0.0715 -0.0726)
OKLCHoklch(28.5% 0.102 314.6)
XYZxyz(3.4359, 2.0189, 7.0448)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C154C #254C15
analogous
#21154C #3C154C #4C1541
triadic
#3C154C #4C3C15 #154C3C
tetradic
#3C154C #4C2115 #254C15 #15414C
square
#3C154C #4C2115 #254C15 #15414C
split-complementary
#3C154C #414C15 #154C21
monochromatic
#130718 #16081C #3C154C #62227C #882FAC

Accessibility & contrast

On white

14.96
#3C154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C154C
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C154C#FFFFFF#000000##FFFFFF
##3C154C1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254E
Deuteranopia (green-blind)
#13284B
Tritanopia (blue-blind)
#3B202E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c154c;
/* rgb */ color: rgb(60, 21, 76);
/* oklch */ color: oklch(28.5% 0.102 314.6);
Tailwind
colors: {
  custom: {
    50: '#74567e',
    500: '#3c154c',
    950: '#000000',
  },
}
SCSS
$custom: #3c154c;
$custom-light: #74567e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c154c",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 282.545,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28497,
    "c": 0.1019,
    "h": 314.6
  },
  "luminance": 0.02019
}

Semantic roles & 50–950 ramp

primary
#3C154C
secondary
#4F8439
accent
#E04874
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C154C

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

Preview Lab → · Contrast checker → · Palette generator →

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