#3E154D#3E154D

#3E154D is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.104 H 315.7°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#3E154D
RGBrgb(62, 21, 77)
HSLhsl(284, 57%, 19%)
HSVhsv(284, 73%, 30%)
CMYKcmyk(19.5%, 72.7%, 0%, 69.8%)
CIE-LABlab(15.99, 29.96, -25.86)
CIE-LCHlch(15.99, 39.57, 319.20°)
OKLaboklab(28.88% 0.0744 -0.0726)
OKLCHoklch(28.88% 0.104 315.7)
XYZxyz(3.5941, 2.0964, 7.2351)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E154D #244D15
analogous
#22154D #3E154D #4D1540
triadic
#3E154D #4D3E15 #154D3E
tetradic
#3E154D #4D2215 #244D15 #15404D
square
#3E154D #4D2215 #244D15 #15404D
split-complementary
#3E154D #404D15 #154D22
monochromatic
#130718 #17081D #3E154D #65227D #8B2FAD

Accessibility & contrast

On white

14.80
#3E154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E154D
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E154D#FFFFFF#000000##FFFFFF
##3E154D1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#14294C
Tritanopia (blue-blind)
#3D202F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e154d;
/* rgb */ color: rgb(62, 21, 77);
/* oklch */ color: oklch(28.9% 0.104 315.7);
Tailwind
colors: {
  custom: {
    50: '#75567f',
    500: '#3e154d',
    950: '#000000',
  },
}
SCSS
$custom: #3e154d;
$custom-light: #75567f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e154d",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 283.929,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28876,
    "c": 0.10395,
    "h": 315.7
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#3E154D
secondary
#4D8539
accent
#E04770
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E154D

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

Preview Lab → · Contrast checker → · Palette generator →

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