#3E1146#3E1146

#3E1146 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.102 H 321.3°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#3E1146
RGBrgb(62, 17, 70)
HSLhsl(291, 61%, 17%)
HSVhsv(291, 76%, 27%)
CMYKcmyk(11.4%, 75.7%, 0%, 72.5%)
CIE-LABlab(14.78, 30.34, -22.96)
CIE-LCHlch(14.78, 38.05, 322.88°)
OKLaboklab(27.85% 0.0799 -0.0641)
OKLCHoklch(27.85% 0.102 321.3)
XYZxyz(3.2924, 1.8674, 5.9802)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1146 #194611
analogous
#231146 #3E1146 #461134
triadic
#3E1146 #463E11 #11463E
tetradic
#3E1146 #462311 #194611 #113446
square
#3E1146 #462311 #194611 #113446
split-complementary
#3E1146 #344611 #114623
monochromatic
#160619 #160619 #3E1146 #6A1D77 #9529A8

Accessibility & contrast

On white

15.29
#3E1146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1146
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1146#FFFFFF#000000##FFFFFF
##3E11461.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022248
Deuteranopia (green-blind)
#172745
Tritanopia (blue-blind)
#3F1A2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e1146;
/* rgb */ color: rgb(62, 17, 70);
/* oklch */ color: oklch(27.8% 0.102 321.3);
Tailwind
colors: {
  custom: {
    50: '#75537a',
    500: '#3e1146',
    950: '#000000',
  },
}
SCSS
$custom: #3e1146;
$custom-light: #75537a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1146",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 290.943,
    "s": 60.92,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27847,
    "c": 0.10246,
    "h": 321.3
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#3E1146
secondary
#3F8033
accent
#E4445C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3E1146

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

Preview Lab → · Contrast checker → · Palette generator →

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