#3E0546#3E0546

#3E0546 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.118 H 322.3°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#3E0546
RGBrgb(62, 5, 70)
HSLhsl(293, 87%, 15%)
HSVhsv(293, 93%, 27%)
CMYKcmyk(11.4%, 92.9%, 0%, 72.5%)
CIE-LABlab(13.08, 35.21, -25.68)
CIE-LCHlch(13.08, 43.58, 323.89°)
OKLaboklab(26.64% 0.093 -0.072)
OKLCHoklch(26.64% 0.118 322.3)
XYZxyz(3.1463, 1.5751, 5.9315)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0546 #0D4605
analogous
#1D0546 #3E0546 #46052E
triadic
#3E0546 #463E05 #05463E
tetradic
#3E0546 #461D05 #0D4605 #052E46
square
#3E0546 #461D05 #0D4605 #052E46
split-complementary
#3E0546 #2E4605 #05461D
monochromatic
#19021D #19021D #3E0546 #71097F #A30DB8

Accessibility & contrast

On white

15.97
#3E0546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3E0546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0546
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0546#FFFFFF#000000##FFFFFF
##3E05461.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#102445
Tritanopia (blue-blind)
#3F1327
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3e0546;
/* rgb */ color: rgb(62, 5, 70);
/* oklch */ color: oklch(26.6% 0.118 322.3);
Tailwind
colors: {
  custom: {
    50: '#764e7a',
    500: '#3e0546',
    950: '#000000',
  },
}
SCSS
$custom: #3e0546;
$custom-light: #764e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0546",
  "rgb": {
    "r": 62,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 292.615,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26641,
    "c": 0.11761,
    "h": 322.3
  },
  "luminance": 0.01575
}

Semantic roles & 50–950 ramp

primary
#3E0546
secondary
#2D8621
accent
#FD2B45
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0546

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

Preview Lab → · Contrast checker → · Palette generator →

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