#3E1352#3E1352

#3E1352 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.113 H 312.8°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#3E1352
RGBrgb(62, 19, 82)
HSLhsl(281, 62%, 20%)
HSVhsv(281, 77%, 32%)
CMYKcmyk(24.4%, 76.8%, 0%, 67.8%)
CIE-LABlab(16.00, 32.17, -29.25)
CIE-LCHlch(16.00, 43.48, 317.72°)
OKLaboklab(29.01% 0.0765 -0.0826)
OKLCHoklch(29.01% 0.113 312.8)
XYZxyz(3.7422, 2.0992, 8.1891)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1352 #275213
analogous
#1E1352 #3E1352 #521347
triadic
#3E1352 #523E13 #13523E
tetradic
#3E1352 #521E13 #275213 #134752
square
#3E1352 #521E13 #275213 #134752
split-complementary
#3E1352 #475213 #13521E
monochromatic
#130619 #180720 #3E1352 #641F84 #892AB5

Accessibility & contrast

On white

14.79
#3E1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3E1352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1352
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1352#FFFFFF#000000##FFFFFF
##3E13521.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#0D2951
Tritanopia (blue-blind)
#3C2031
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e1352;
/* rgb */ color: rgb(62, 19, 82);
/* oklch */ color: oklch(29.0% 0.113 312.8);
Tailwind
colors: {
  custom: {
    50: '#765583',
    500: '#3e1352',
    950: '#000000',
  },
}
SCSS
$custom: #3e1352;
$custom-light: #765583;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1352",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 280.952,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29005,
    "c": 0.11253,
    "h": 312.8
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

primary
#3E1352
secondary
#518A36
accent
#E54276
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E1352

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

Preview Lab → · Contrast checker → · Palette generator →

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