#3C154E#3C154E

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

Color values

HEX#3C154E
RGBrgb(60, 21, 78)
HSLhsl(281, 58%, 19%)
HSVhsv(281, 73%, 31%)
CMYKcmyk(23.1%, 73.1%, 0%, 69.4%)
CIE-LABlab(15.73, 29.67, -26.97)
CIE-LCHlch(15.73, 40.09, 317.73°)
OKLaboklab(28.65% 0.0714 -0.0759)
OKLCHoklch(28.65% 0.104 313.2)
XYZxyz(3.5066, 2.0472, 7.4167)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C154E #274E15
analogous
#20154E #3C154E #4E1544
triadic
#3C154E #4E3C15 #154E3C
tetradic
#3C154E #4E2015 #274E15 #15444E
square
#3C154E #4E2015 #274E15 #15444E
split-complementary
#3C154E #444E15 #154E20
monochromatic
#130618 #17081E #3C154E #61227E #862FAE

Accessibility & contrast

On white

14.90
#3C154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C154E
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C154E#FFFFFF#000000##FFFFFF
##3C154E1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#11284D
Tritanopia (blue-blind)
#3A202F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c154e;
/* rgb */ color: rgb(60, 21, 78);
/* oklch */ color: oklch(28.6% 0.104 313.2);
Tailwind
colors: {
  custom: {
    50: '#745680',
    500: '#3c154e',
    950: '#000000',
  },
}
SCSS
$custom: #3c154e;
$custom-light: #745680;
$custom-dark: #000000;
JSON
{
  "hex": "#3c154e",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 281.053,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2865,
    "c": 0.10421,
    "h": 313.2
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#3C154E
secondary
#518639
accent
#E14778
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C154E

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

Preview Lab → · Contrast checker → · Palette generator →

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