#3E154A#3E154A

#3E154A is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.7% C 0.101 H 317.8°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#3E154A
RGBrgb(62, 21, 74)
HSLhsl(286, 56%, 19%)
HSVhsv(286, 72%, 29%)
CMYKcmyk(16.2%, 71.6%, 0%, 71%)
CIE-LABlab(15.77, 29.24, -24.14)
CIE-LCHlch(15.77, 37.92, 320.46°)
OKLaboklab(28.66% 0.0745 -0.0676)
OKLCHoklch(28.66% 0.101 317.8)
XYZxyz(3.4906, 2.0550, 6.6900)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E154A #214A15
analogous
#23154A #3E154A #4A153B
triadic
#3E154A #4A3E15 #154A3E
tetradic
#3E154A #4A2315 #214A15 #153B4A
square
#3E154A #4A2315 #214A15 #153B4A
split-complementary
#3E154A #3B4A15 #154A23
monochromatic
#140718 #16071A #3E154A #66237A #8E30A9

Accessibility & contrast

On white

14.88
#3E154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E154A
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E154A#FFFFFF#000000##FFFFFF
##3E154A1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04254C
Deuteranopia (green-blind)
#172949
Tritanopia (blue-blind)
#3E1E2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e154a;
/* rgb */ color: rgb(62, 21, 74);
/* oklch */ color: oklch(28.7% 0.101 317.8);
Tailwind
colors: {
  custom: {
    50: '#75567d',
    500: '#3e154a',
    950: '#000000',
  },
}
SCSS
$custom: #3e154a;
$custom-light: #75567d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e154a",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 286.415,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28655,
    "c": 0.10058,
    "h": 317.8
  },
  "luminance": 0.02055
}

Semantic roles & 50–950 ramp

primary
#3E154A
secondary
#498239
accent
#DF496B
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E154A

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

Preview Lab → · Contrast checker → · Palette generator →

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