#3E1552#3E1552

#3E1552 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.3% C 0.110 H 312.4°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#3E1552
RGBrgb(62, 21, 82)
HSLhsl(280, 59%, 20%)
HSVhsv(280, 74%, 32%)
CMYKcmyk(24.4%, 74.4%, 0%, 67.8%)
CIE-LABlab(16.35, 31.17, -28.68)
CIE-LCHlch(16.35, 42.36, 317.39°)
OKLaboklab(29.26% 0.074 -0.0809)
OKLCHoklch(29.26% 0.11 312.4)
XYZxyz(3.7775, 2.1698, 8.2008)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1552 #295215
analogous
#201552 #3E1552 #521547
triadic
#3E1552 #523E15 #15523E
tetradic
#3E1552 #522015 #295215 #154752
square
#3E1552 #522015 #295215 #154752
split-complementary
#3E1552 #475215 #155220
monochromatic
#120618 #190921 #3E1552 #632183 #882EB3

Accessibility & contrast

On white

14.64
#3E1552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1552
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1552#FFFFFF#000000##FFFFFF
##3E15521.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#0F2951
Tritanopia (blue-blind)
#3C2231
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e1552;
/* rgb */ color: rgb(62, 21, 82);
/* oklch */ color: oklch(29.3% 0.110 312.4);
Tailwind
colors: {
  custom: {
    50: '#765683',
    500: '#3e1552',
    950: '#000000',
  },
}
SCSS
$custom: #3e1552;
$custom-light: #765683;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1552",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 280.328,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29259,
    "c": 0.10963,
    "h": 312.4
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#3E1552
secondary
#538A39
accent
#E24579
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E1552

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

Preview Lab → · Contrast checker → · Palette generator →

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