#3E154E#3E154E

#3E154E is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.105 H 315.0°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#3E154E
RGBrgb(62, 21, 78)
HSLhsl(283, 58%, 19%)
HSVhsv(283, 73%, 31%)
CMYKcmyk(20.5%, 73.1%, 0%, 69.4%)
CIE-LABlab(16.06, 30.20, -26.43)
CIE-LCHlch(16.06, 40.13, 318.81°)
OKLaboklab(28.95% 0.0743 -0.0743)
OKLCHoklch(28.95% 0.105 315)
XYZxyz(3.6297, 2.1106, 7.4224)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E154E #254E15
analogous
#22154E #3E154E #4E1542
triadic
#3E154E #4E3E15 #154E3E
tetradic
#3E154E #4E2215 #254E15 #15424E
square
#3E154E #4E2215 #254E15 #15424E
split-complementary
#3E154E #424E15 #154E22
monochromatic
#130618 #18081E #3E154E #64227E #8B2FAE

Accessibility & contrast

On white

14.77
#3E154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3E154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E154E
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E154E#FFFFFF#000000##FFFFFF
##3E154E1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002650
Deuteranopia (green-blind)
#14294D
Tritanopia (blue-blind)
#3D202F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e154e;
/* rgb */ color: rgb(62, 21, 78);
/* oklch */ color: oklch(29.0% 0.105 315.0);
Tailwind
colors: {
  custom: {
    50: '#765680',
    500: '#3e154e',
    950: '#000000',
  },
}
SCSS
$custom: #3e154e;
$custom-light: #765680;
$custom-dark: #000000;
JSON
{
  "hex": "#3e154e",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 283.158,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28951,
    "c": 0.10508,
    "h": 315
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#3E154E
secondary
#4F8639
accent
#E14772
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E154E

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

Preview Lab → · Contrast checker → · Palette generator →

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