#3E153B#3E153B

#3E153B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.7% C 0.084 H 330.5°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#3E153B
RGBrgb(62, 21, 59)
HSLhsl(304, 49%, 16%)
HSVhsv(304, 66%, 24%)
CMYKcmyk(0%, 66.1%, 4.8%, 75.7%)
CIE-LABlab(14.82, 25.92, -15.17)
CIE-LCHlch(14.82, 30.03, 329.67°)
OKLaboklab(27.66% 0.0735 -0.0416)
OKLCHoklch(27.66% 0.084 330.5)
XYZxyz(3.0442, 1.8764, 4.3387)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E153B #153E18
analogous
#2D153E #3E153B #3E1527
triadic
#3E153B #3B3E15 #153B3E
tetradic
#3E153B #3E2D15 #153E18 #15273E
square
#3E153B #3E2D15 #153E18 #15273E
split-complementary
#3E153B #273E15 #153E2D
monochromatic
#170816 #170816 #3E153B #6C2467 #993492

Accessibility & contrast

On white

15.27
#3E153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3E153B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E153B
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E153B#FFFFFF#000000##FFFFFF
##3E153B1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12223C
Deuteranopia (green-blind)
#20273A
Tritanopia (blue-blind)
#411925
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e153b;
/* rgb */ color: rgb(62, 21, 59);
/* oklch */ color: oklch(27.7% 0.084 330.5);
Tailwind
colors: {
  custom: {
    50: '#755571',
    500: '#3e153b',
    950: '#000000',
  },
}
SCSS
$custom: #3e153b;
$custom-light: #755571;
$custom-dark: #000000;
JSON
{
  "hex": "#3e153b",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 304.39,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27659,
    "c": 0.08443,
    "h": 330.5
  },
  "luminance": 0.01876
}

Semantic roles & 50–950 ramp

primary
#3E153B
secondary
#39763E
accent
#D9594F
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080307
muted
#7B787A

Preview Lab

Preview with #3E153B

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

Preview Lab → · Contrast checker → · Palette generator →

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