#3E0E54#3E0E54

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

Color values

HEX#3E0E54
RGBrgb(62, 14, 84)
HSLhsl(281, 71%, 19%)
HSVhsv(281, 83%, 33%)
CMYKcmyk(26.2%, 83.3%, 0%, 67.1%)
CIE-LABlab(15.37, 34.89, -31.62)
CIE-LCHlch(15.37, 47.09, 317.81°)
OKLaboklab(28.61% 0.0816 -0.0895)
OKLCHoklch(28.61% 0.121 312.4)
XYZxyz(3.7436, 1.9784, 8.5705)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0E54 #24540E
analogous
#1B0E54 #3E0E54 #540E47
triadic
#3E0E54 #543E0E #0E543E
tetradic
#3E0E54 #541B0E #24540E #0E4754
square
#3E0E54 #541B0E #24540E #0E4754
split-complementary
#3E0E54 #47540E #0E541B
monochromatic
#13041A #170520 #3E0E54 #651788 #8B1FBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E0E54#FFFFFF#000000##FFFFFF
##3E0E541.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)
#002456
Deuteranopia (green-blind)
#042753
Tritanopia (blue-blind)
#3B1F31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e0e54;
/* rgb */ color: rgb(62, 14, 84);
/* oklch */ color: oklch(28.6% 0.121 312.4);
Tailwind
colors: {
  custom: {
    50: '#765385',
    500: '#3e0e54',
    950: '#000000',
  },
}
SCSS
$custom: #3e0e54;
$custom-light: #765385;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0e54",
  "rgb": {
    "r": 62,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 281.143,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28612,
    "c": 0.12111,
    "h": 312.4
  },
  "luminance": 0.01978
}

Semantic roles & 50–950 ramp

primary
#3E0E54
secondary
#4D8E2F
accent
#EE3A72
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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