#3E2242#3E2242

#3E2242 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.3% C 0.067 H 322.4°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#3E2242
RGBrgb(62, 34, 66)
HSLhsl(293, 32%, 20%)
HSVhsv(293, 48%, 26%)
CMYKcmyk(6.1%, 48.5%, 0%, 74.1%)
CIE-LABlab(18.20, 19.61, -14.80)
CIE-LCHlch(18.20, 24.57, 322.96°)
OKLaboklab(30.28% 0.0528 -0.0406)
OKLCHoklch(30.28% 0.067 322.4)
XYZxyz(3.5419, 2.5617, 5.4611)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2242 #264222
analogous
#2E2242 #3E2242 #422236
triadic
#3E2242 #423E22 #22423E
tetradic
#3E2242 #422E22 #264222 #223642
square
#3E2242 #422E22 #264222 #223642
split-complementary
#3E2242 #364222 #22422E
monochromatic
#130A14 #180D1A #3E2242 #64376A #8A4C93

Accessibility & contrast

On white

13.89
#3E2242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3E2242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2242
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2242#FFFFFF#000000##FFFFFF
##3E22421.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2A43
Deuteranopia (green-blind)
#262E41
Tritanopia (blue-blind)
#3F262E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e2242;
/* rgb */ color: rgb(62, 34, 66);
/* oklch */ color: oklch(30.3% 0.067 322.4);
Tailwind
colors: {
  custom: {
    50: '#745e76',
    500: '#3e2242',
    950: '#000000',
  },
}
SCSS
$custom: #3e2242;
$custom-light: #745e76;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2242",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 292.5,
    "s": 32,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30278,
    "c": 0.06665,
    "h": 322.4
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#3E2242
secondary
#50754A
accent
#C8606D
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080408
muted
#7B797B

Preview Lab

Preview with #3E2242

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

Preview Lab → · Contrast checker → · Palette generator →

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