#3E0B56#3E0B56

#3E0B56 is a dark, vivid purple. Relative luminance 0.019; OKLCH L 28.5% C 0.126 H 311.6°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#3E0B56
RGBrgb(62, 11, 86)
HSLhsl(281, 77%, 19%)
HSVhsv(281, 87%, 34%)
CMYKcmyk(27.9%, 87.2%, 0%, 66.3%)
CIE-LABlab(15.15, 36.51, -33.35)
CIE-LCHlch(15.15, 49.45, 317.59°)
OKLaboklab(28.51% 0.0839 -0.0945)
OKLCHoklch(28.51% 0.126 311.6)
XYZxyz(3.7857, 1.9355, 8.9765)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0B56 #23560B
analogous
#190B56 #3E0B56 #560B49
triadic
#3E0B56 #563E0B #0B563E
tetradic
#3E0B56 #56190B #23560B #0B4956
square
#3E0B56 #56190B #23560B #0B4956
split-complementary
#3E0B56 #49560B #0B5619
monochromatic
#14031B #170420 #3E0B56 #65128C #8C19C3

Accessibility & contrast

On white

15.14
#3E0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3E0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0B56
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0B56#FFFFFF#000000##FFFFFF
##3E0B561.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002754
Tritanopia (blue-blind)
#3B1E31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e0b56;
/* rgb */ color: rgb(62, 11, 86);
/* oklch */ color: oklch(28.5% 0.126 311.6);
Tailwind
colors: {
  custom: {
    50: '#775286',
    500: '#3e0b56',
    950: '#000000',
  },
}
SCSS
$custom: #3e0b56;
$custom-light: #775286;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0b56",
  "rgb": {
    "r": 62,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 280.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28505,
    "c": 0.12641,
    "h": 311.6
  },
  "luminance": 0.01935
}

Semantic roles & 50–950 ramp

primary
#3E0B56
secondary
#4C912B
accent
#F43471
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3E0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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