#3E1052#3E1052

#3E1052 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.7% C 0.117 H 313.3°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#3E1052
RGBrgb(62, 16, 82)
HSLhsl(282, 67%, 19%)
HSVhsv(282, 80%, 32%)
CMYKcmyk(24.4%, 80.5%, 0%, 67.8%)
CIE-LABlab(15.51, 33.56, -30.04)
CIE-LCHlch(15.51, 45.04, 318.17°)
OKLaboklab(28.66% 0.0799 -0.0849)
OKLCHoklch(28.66% 0.117 313.3)
XYZxyz(3.6946, 2.0040, 8.1732)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1052 #245210
analogous
#1D1052 #3E1052 #521045
triadic
#3E1052 #523E10 #10523E
tetradic
#3E1052 #521D10 #245210 #104552
square
#3E1052 #521D10 #245210 #104552
split-complementary
#3E1052 #455210 #10521D
monochromatic
#13051A #17061F #3E1052 #651A85 #8B24B8

Accessibility & contrast

On white

14.99
#3E1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3E1052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1052
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1052#FFFFFF#000000##FFFFFF
##3E10521.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#0A2851
Tritanopia (blue-blind)
#3C1F30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e1052;
/* rgb */ color: rgb(62, 16, 82);
/* oklch */ color: oklch(28.7% 0.117 313.3);
Tailwind
colors: {
  custom: {
    50: '#765483',
    500: '#3e1052',
    950: '#000000',
  },
}
SCSS
$custom: #3e1052;
$custom-light: #765483;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1052",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 281.818,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28656,
    "c": 0.11656,
    "h": 313.3
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#3E1052
secondary
#4D8C32
accent
#EA3E72
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E1052

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

Preview Lab → · Contrast checker → · Palette generator →

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