#3E0D56#3E0D56

#3E0D56 is a dark, vivid purple. Relative luminance 0.020; OKLCH L 28.7% C 0.124 H 311.4°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#3E0D56
RGBrgb(62, 13, 86)
HSLhsl(280, 74%, 19%)
HSVhsv(280, 85%, 34%)
CMYKcmyk(27.9%, 84.9%, 0%, 66.3%)
CIE-LABlab(15.40, 35.76, -32.93)
CIE-LCHlch(15.40, 48.61, 317.36°)
OKLaboklab(28.69% 0.0821 -0.0933)
OKLCHoklch(28.69% 0.124 311.4)
XYZxyz(3.8099, 1.9840, 8.9845)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D56 #25560D
analogous
#1A0D56 #3E0D56 #560D4A
triadic
#3E0D56 #563E0D #0D563E
tetradic
#3E0D56 #561A0D #25560D #0D4A56
square
#3E0D56 #561A0D #25560D #0D4A56
split-complementary
#3E0D56 #4A560D #0D561A
monochromatic
#13041B #180521 #3E0D56 #64158B #8B1DC0

Accessibility & contrast

On white

15.03
#3E0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0D56
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D56#FFFFFF#000000##FFFFFF
##3E0D561.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#3B1F31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e0d56;
/* rgb */ color: rgb(62, 13, 86);
/* oklch */ color: oklch(28.7% 0.124 311.4);
Tailwind
colors: {
  custom: {
    50: '#775286',
    500: '#3e0d56',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d56;
$custom-light: #775286;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d56",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 280.274,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28686,
    "c": 0.12431,
    "h": 311.4
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#3E0D56
secondary
#4F912E
accent
#F03774
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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