#3E1452#3E1452

#3E1452 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.1% C 0.111 H 312.6°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#3E1452
RGBrgb(62, 20, 82)
HSLhsl(281, 61%, 20%)
HSVhsv(281, 76%, 32%)
CMYKcmyk(24.4%, 75.6%, 0%, 67.8%)
CIE-LABlab(16.17, 31.68, -28.97)
CIE-LCHlch(16.17, 42.93, 317.56°)
OKLaboklab(29.13% 0.0752 -0.0817)
OKLCHoklch(29.13% 0.111 312.6)
XYZxyz(3.7595, 2.1337, 8.1948)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1452 #285214
analogous
#1F1452 #3E1452 #521447
triadic
#3E1452 #523E14 #14523E
tetradic
#3E1452 #521F14 #285214 #144752
square
#3E1452 #521F14 #285214 #144752
split-complementary
#3E1452 #475214 #14521F
monochromatic
#130619 #190821 #3E1452 #632083 #882CB4

Accessibility & contrast

On white

14.72
#3E1452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3E1452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1452
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1452#FFFFFF#000000##FFFFFF
##3E14521.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1452;
/* rgb */ color: rgb(62, 20, 82);
/* oklch */ color: oklch(29.1% 0.111 312.6);
Tailwind
colors: {
  custom: {
    50: '#765683',
    500: '#3e1452',
    950: '#000000',
  },
}
SCSS
$custom: #3e1452;
$custom-light: #765683;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1452",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 280.645,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.2913,
    "c": 0.1111,
    "h": 312.6
  },
  "luminance": 0.02134
}

Semantic roles & 50–950 ramp

primary
#3E1452
secondary
#528A38
accent
#E44478
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E1452

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

Preview Lab → · Contrast checker → · Palette generator →

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