#3E3040#3E3040

#3E3040 is a dark, muted purple. Relative luminance 0.035; OKLCH L 33.1% C 0.034 H 322.1°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#3E3040
RGBrgb(62, 48, 64)
HSLhsl(293, 14%, 22%)
HSVhsv(293, 25%, 25%)
CMYKcmyk(3.1%, 25%, 0%, 74.9%)
CIE-LABlab(21.97, 9.78, -7.63)
CIE-LCHlch(21.97, 12.41, 322.04°)
OKLaboklab(33.12% 0.0265 -0.0206)
OKLCHoklch(33.12% 0.034 322.1)
XYZxyz(3.9689, 3.5083, 5.3176)
Luminance0.0351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3040 #324030
analogous
#363040 #3E3040 #40303A
triadic
#3E3040 #403E30 #30403E
tetradic
#3E3040 #403630 #324030 #303A40
square
#3E3040 #403630 #324030 #303A40
split-complementary
#3E3040 #3A4030 #304036
monochromatic
#110D11 #1C161D #3E3040 #604A63 #826486

Accessibility & contrast

On white

12.34
#3E3040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3E3040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3040
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3040#FFFFFF#000000##FFFFFF
##3E30401.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3441
Deuteranopia (green-blind)
#32353F
Tritanopia (blue-blind)
#3F3236
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e3040;
/* rgb */ color: rgb(62, 48, 64);
/* oklch */ color: oklch(33.1% 0.034 322.1);
Tailwind
colors: {
  custom: {
    50: '#736874',
    500: '#3e3040',
    950: '#000000',
  },
}
SCSS
$custom: #3e3040;
$custom-light: #736874;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3040",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 64
  },
  "hsl": {
    "h": 292.5,
    "s": 14.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33116,
    "c": 0.03354,
    "h": 322.1
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#3E3040
secondary
#5E705C
accent
#B7717A
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080608
muted
#7B7A7B

Preview Lab

Preview with #3E3040

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

Preview Lab → · Contrast checker → · Palette generator →

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