#3E2240#3E2240

#3E2240 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.2% C 0.064 H 324.6°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#3E2240
RGBrgb(62, 34, 64)
HSLhsl(296, 31%, 19%)
HSVhsv(296, 47%, 25%)
CMYKcmyk(3.1%, 46.9%, 0%, 74.9%)
CIE-LABlab(18.09, 19.14, -13.58)
CIE-LCHlch(18.09, 23.47, 324.65°)
OKLaboklab(30.17% 0.0523 -0.0372)
OKLCHoklch(30.17% 0.064 324.6)
XYZxyz(3.4840, 2.5385, 5.1560)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2240 #244022
analogous
#2F2240 #3E2240 #402233
triadic
#3E2240 #403E22 #22403E
tetradic
#3E2240 #402F22 #244022 #223340
square
#3E2240 #402F22 #244022 #223340
split-complementary
#3E2240 #334022 #22402F
monochromatic
#130B14 #170D18 #3E2240 #653768 #8B4C90

Accessibility & contrast

On white

13.93
#3E2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2240
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2240#FFFFFF#000000##FFFFFF
##3E22401.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A41
Deuteranopia (green-blind)
#262D3F
Tritanopia (blue-blind)
#3F252E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e2240;
/* rgb */ color: rgb(62, 34, 64);
/* oklch */ color: oklch(30.2% 0.064 324.6);
Tailwind
colors: {
  custom: {
    50: '#745e75',
    500: '#3e2240',
    950: '#000000',
  },
}
SCSS
$custom: #3e2240;
$custom-light: #745e75;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2240",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 296,
    "s": 30.612,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30167,
    "c": 0.06417,
    "h": 324.6
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#3E2240
secondary
#4D734B
accent
#C76168
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080408
muted
#7B797B

Preview Lab

Preview with #3E2240

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

Preview Lab → · Contrast checker → · Palette generator →

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