#3C154D#3C154D

#3C154D is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.103 H 313.9°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#3C154D
RGBrgb(60, 21, 77)
HSLhsl(282, 57%, 19%)
HSVhsv(282, 73%, 30%)
CMYKcmyk(22.1%, 72.7%, 0%, 69.8%)
CIE-LABlab(15.66, 29.42, -26.40)
CIE-LCHlch(15.66, 39.53, 318.10°)
OKLaboklab(28.57% 0.0714 -0.0743)
OKLCHoklch(28.57% 0.103 313.9)
XYZxyz(3.4710, 2.0329, 7.2293)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C154D #264D15
analogous
#20154D #3C154D #4D1542
triadic
#3C154D #4D3C15 #154D3C
tetradic
#3C154D #4D2015 #264D15 #15424D
square
#3C154D #4D2015 #264D15 #15424D
split-complementary
#3C154D #424D15 #154D20
monochromatic
#130718 #17081D #3C154D #61227D #872FAD

Accessibility & contrast

On white

14.93
#3C154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3C154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C154D
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C154D#FFFFFF#000000##FFFFFF
##3C154D1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#12284C
Tritanopia (blue-blind)
#3A202F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c154d;
/* rgb */ color: rgb(60, 21, 77);
/* oklch */ color: oklch(28.6% 0.103 313.9);
Tailwind
colors: {
  custom: {
    50: '#74567f',
    500: '#3c154d',
    950: '#000000',
  },
}
SCSS
$custom: #3c154d;
$custom-light: #74567f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c154d",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 281.786,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28573,
    "c": 0.10306,
    "h": 313.9
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#3C154D
secondary
#508539
accent
#E04776
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C154D

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

Preview Lab → · Contrast checker → · Palette generator →

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