#3E3442#3E3442

#3E3442 is a dark, muted purple. Relative luminance 0.039; OKLCH L 34.1% C 0.028 H 316.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#3E3442
RGBrgb(62, 52, 66)
HSLhsl(283, 12%, 23%)
HSVhsv(283, 21%, 26%)
CMYKcmyk(6.1%, 21.2%, 0%, 74.1%)
CIE-LABlab(23.25, 7.56, -7.06)
CIE-LCHlch(23.25, 10.34, 316.98°)
OKLaboklab(34.13% 0.0199 -0.019)
OKLCHoklch(34.13% 0.028 316.3)
XYZxyz(4.1978, 3.8735, 5.6797)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3442 #384234
analogous
#373442 #3E3442 #42343F
triadic
#3E3442 #423E34 #34423E
tetradic
#3E3442 #423734 #384234 #343F42
square
#3E3442 #423734 #384234 #343F42
split-complementary
#3E3442 #3F4234 #344237
monochromatic
#100D11 #1E1920 #3E3442 #5E4F64 #7E6A86

Accessibility & contrast

On white

11.83
#3E3442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3E3442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3442
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3442#FFFFFF#000000##FFFFFF
##3E34421.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323743
Deuteranopia (green-blind)
#343842
Tritanopia (blue-blind)
#3E3539
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e3442;
/* rgb */ color: rgb(62, 52, 66);
/* oklch */ color: oklch(34.1% 0.028 316.3);
Tailwind
colors: {
  custom: {
    50: '#736b76',
    500: '#3e3442',
    950: '#000000',
  },
}
SCSS
$custom: #3e3442;
$custom-light: #736b76;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3442",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 66
  },
  "hsl": {
    "h": 282.857,
    "s": 11.864,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34126,
    "c": 0.02753,
    "h": 316.3
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#3E3442
secondary
#657260
accent
#B57386
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#080608
muted
#7B7A7B

Preview Lab

Preview with #3E3442

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

Preview Lab → · Contrast checker → · Palette generator →

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