#3E0541#3E0541

#3E0541 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.113 H 325.9°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#3E0541
RGBrgb(62, 5, 65)
HSLhsl(297, 86%, 14%)
HSVhsv(297, 92%, 25%)
CMYKcmyk(4.6%, 92.3%, 0%, 74.5%)
CIE-LABlab(12.70, 34.22, -22.77)
CIE-LCHlch(12.70, 41.10, 326.35°)
OKLaboklab(26.26% 0.0937 -0.0635)
OKLCHoklch(26.26% 0.113 325.9)
XYZxyz(2.9949, 1.5145, 5.1346)
Luminance0.0151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0541 #084105
analogous
#200541 #3E0541 #410526
triadic
#3E0541 #413E05 #05413E
tetradic
#3E0541 #412005 #084105 #052641
square
#3E0541 #412005 #084105 #052641
split-complementary
#3E0541 #264105 #054120
monochromatic
#1B021C #1B021C #3E0541 #74097A #AA0EB3

Accessibility & contrast

On white

16.12
#3E0541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3E0541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0541
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0541#FFFFFF#000000##FFFFFF
##3E05411.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#142340
Tritanopia (blue-blind)
#401124
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3e0541;
/* rgb */ color: rgb(62, 5, 65);
/* oklch */ color: oklch(26.3% 0.113 325.9);
Tailwind
colors: {
  custom: {
    50: '#764e76',
    500: '#3e0541',
    950: '#000000',
  },
}
SCSS
$custom: #3e0541;
$custom-light: #764e76;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0541",
  "rgb": {
    "r": 62,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 297,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26255,
    "c": 0.11318,
    "h": 325.9
  },
  "luminance": 0.01514
}

Semantic roles & 50–950 ramp

primary
#3E0541
secondary
#258120
accent
#FC2C36
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E0541

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

Preview Lab → · Contrast checker → · Palette generator →

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