#3E0D54#3E0D54

#3E0D54 is a dark, vivid purple. Relative luminance 0.020; OKLCH L 28.5% C 0.122 H 312.5°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#3E0D54
RGBrgb(62, 13, 84)
HSLhsl(281, 73%, 19%)
HSVhsv(281, 85%, 33%)
CMYKcmyk(26.2%, 84.5%, 0%, 67.1%)
CIE-LABlab(15.23, 35.29, -31.85)
CIE-LCHlch(15.23, 47.53, 317.94°)
OKLaboklab(28.51% 0.0826 -0.0901)
OKLCHoklch(28.51% 0.122 312.5)
XYZxyz(3.7305, 1.9522, 8.5661)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D54 #23540D
analogous
#1A0D54 #3E0D54 #540D47
triadic
#3E0D54 #543E0D #0D543E
tetradic
#3E0D54 #541A0D #23540D #0D4754
square
#3E0D54 #541A0D #23540D #0D4754
split-complementary
#3E0D54 #47540D #0D541A
monochromatic
#14041A #17051F #3E0D54 #651589 #8C1DBE

Accessibility & contrast

On white

15.10
#3E0D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0D54
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D54#FFFFFF#000000##FFFFFF
##3E0D541.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#032753
Tritanopia (blue-blind)
#3B1E30
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e0d54;
/* rgb */ color: rgb(62, 13, 84);
/* oklch */ color: oklch(28.5% 0.122 312.5);
Tailwind
colors: {
  custom: {
    50: '#775285',
    500: '#3e0d54',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d54;
$custom-light: #775285;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d54",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 281.408,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28514,
    "c": 0.12226,
    "h": 312.5
  },
  "luminance": 0.01952
}

Semantic roles & 50–950 ramp

primary
#3E0D54
secondary
#4C8F2E
accent
#F03871
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3E0D54

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

Preview Lab → · Contrast checker → · Palette generator →

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