#3E0C57#3E0C57

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

Color values

HEX#3E0C57
RGBrgb(62, 12, 87)
HSLhsl(280, 76%, 19%)
HSVhsv(280, 86%, 34%)
CMYKcmyk(28.7%, 86.2%, 0%, 65.9%)
CIE-LABlab(15.36, 36.38, -33.68)
CIE-LCHlch(15.36, 49.57, 317.21°)
OKLaboklab(28.68% 0.0828 -0.0955)
OKLCHoklch(28.68% 0.126 310.9)
XYZxyz(3.8380, 1.9753, 9.1941)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0C57 #25570C
analogous
#190C57 #3E0C57 #570C4B
triadic
#3E0C57 #573E0C #0C573E
tetradic
#3E0C57 #57190C #25570C #0C4B57
square
#3E0C57 #57190C #25570C #0C4B57
split-complementary
#3E0C57 #4B570C #0C5719
monochromatic
#13041B #180521 #3E0C57 #64138D #8B1BC3

Accessibility & contrast

On white

15.05
#3E0C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0C57
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0C57#FFFFFF#000000##FFFFFF
##3E0C571.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#3B1F32
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e0c57;
/* rgb */ color: rgb(62, 12, 87);
/* oklch */ color: oklch(28.7% 0.126 310.9);
Tailwind
colors: {
  custom: {
    50: '#775287',
    500: '#3e0c57',
    950: '#000000',
  },
}
SCSS
$custom: #3e0c57;
$custom-light: #775287;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0c57",
  "rgb": {
    "r": 62,
    "g": 12,
    "b": 87
  },
  "hsl": {
    "h": 280,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2868,
    "c": 0.12641,
    "h": 310.9
  },
  "luminance": 0.01975
}

Semantic roles & 50–950 ramp

primary
#3E0C57
secondary
#4F922D
accent
#F23574
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3E0C57

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

Preview Lab → · Contrast checker → · Palette generator →

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