#3E2040#3E2040

#3E2040 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 29.8% C 0.068 H 324.8°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#3E2040
RGBrgb(62, 32, 64)
HSLhsl(296, 33%, 19%)
HSVhsv(296, 50%, 25%)
CMYKcmyk(3.1%, 50%, 0%, 74.9%)
CIE-LABlab(17.59, 20.43, -14.36)
CIE-LCHlch(17.59, 24.97, 324.90°)
OKLaboklab(29.79% 0.0559 -0.0394)
OKLCHoklch(29.79% 0.068 324.8)
XYZxyz(3.4284, 2.4275, 5.1375)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2040 #224020
analogous
#2E2040 #3E2040 #402032
triadic
#3E2040 #403E20 #20403E
tetradic
#3E2040 #402E20 #224020 #203240
square
#3E2040 #402E20 #224020 #203240
split-complementary
#3E2040 #324020 #20402E
monochromatic
#140A14 #160C17 #3E2040 #663469 #8D4992

Accessibility & contrast

On white

14.14
#3E2040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3E2040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2040
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2040#FFFFFF#000000##FFFFFF
##3E20401.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#252C3F
Tritanopia (blue-blind)
#3F242D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e2040;
/* rgb */ color: rgb(62, 32, 64);
/* oklch */ color: oklch(29.8% 0.068 324.8);
Tailwind
colors: {
  custom: {
    50: '#745c75',
    500: '#3e2040',
    950: '#000000',
  },
}
SCSS
$custom: #3e2040;
$custom-light: #745c75;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2040",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 296.25,
    "s": 33.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2979,
    "c": 0.06838,
    "h": 324.8
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#3E2040
secondary
#4B7448
accent
#C95E65
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080408
muted
#7B797B

Preview Lab

Preview with #3E2040

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

Preview Lab → · Contrast checker → · Palette generator →

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