#3E0E56#3E0E56

#3E0E56 is a dark, vivid purple. Relative luminance 0.020; OKLCH L 28.8% C 0.123 H 311.2°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#3E0E56
RGBrgb(62, 14, 86)
HSLhsl(280, 72%, 20%)
HSVhsv(280, 84%, 34%)
CMYKcmyk(27.9%, 83.7%, 0%, 66.3%)
CIE-LABlab(15.54, 35.36, -32.70)
CIE-LCHlch(15.54, 48.17, 317.24°)
OKLaboklab(28.78% 0.0812 -0.0927)
OKLCHoklch(28.78% 0.123 311.2)
XYZxyz(3.8230, 2.0102, 8.9889)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0E56 #26560E
analogous
#1A0E56 #3E0E56 #560E4A
triadic
#3E0E56 #563E0E #0E563E
tetradic
#3E0E56 #561A0E #26560E #0E4A56
square
#3E0E56 #561A0E #26560E #0E4A56
split-complementary
#3E0E56 #4A560E #0E561A
monochromatic
#13041A #180521 #3E0E56 #64178B #8A1FBF

Accessibility & contrast

On white

14.98
#3E0E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0E56
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0E56#FFFFFF#000000##FFFFFF
##3E0E561.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#012855
Tritanopia (blue-blind)
#3B1F32
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e0e56;
/* rgb */ color: rgb(62, 14, 86);
/* oklch */ color: oklch(28.8% 0.123 311.2);
Tailwind
colors: {
  custom: {
    50: '#775386',
    500: '#3e0e56',
    950: '#000000',
  },
}
SCSS
$custom: #3e0e56;
$custom-light: #775386;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0e56",
  "rgb": {
    "r": 62,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 280,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28782,
    "c": 0.1232,
    "h": 311.2
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#3E0E56
secondary
#509030
accent
#EF3976
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E0E56

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

Preview Lab → · Contrast checker → · Palette generator →

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