#3E1046#3E1046

#3E1046 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.104 H 321.4°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#3E1046
RGBrgb(62, 16, 70)
HSLhsl(291, 63%, 17%)
HSVhsv(291, 77%, 27%)
CMYKcmyk(11.4%, 77.1%, 0%, 72.5%)
CIE-LABlab(14.61, 30.81, -23.23)
CIE-LCHlch(14.61, 38.59, 322.98°)
OKLaboklab(27.73% 0.0812 -0.0649)
OKLCHoklch(27.73% 0.104 321.4)
XYZxyz(3.2773, 1.8371, 5.9751)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1046 #184610
analogous
#231046 #3E1046 #461033
triadic
#3E1046 #463E10 #10463E
tetradic
#3E1046 #462310 #184610 #103346
square
#3E1046 #462310 #184610 #103346
split-complementary
#3E1046 #334610 #104623
monochromatic
#160619 #160619 #3E1046 #6A1B78 #9627AA

Accessibility & contrast

On white

15.36
#3E1046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3E1046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1046
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1046#FFFFFF#000000##FFFFFF
##3E10461.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012248
Deuteranopia (green-blind)
#162745
Tritanopia (blue-blind)
#3F1A29
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e1046;
/* rgb */ color: rgb(62, 16, 70);
/* oklch */ color: oklch(27.7% 0.104 321.4);
Tailwind
colors: {
  custom: {
    50: '#75537a',
    500: '#3e1046',
    950: '#000000',
  },
}
SCSS
$custom: #3e1046;
$custom-light: #75537a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1046",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 291.111,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27727,
    "c": 0.10393,
    "h": 321.4
  },
  "luminance": 0.01837
}

Semantic roles & 50–950 ramp

primary
#3E1046
secondary
#3D8032
accent
#E6425A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3E1046

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

Preview Lab → · Contrast checker → · Palette generator →

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