#3E1246#3E1246

#3E1246 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.101 H 321.1°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#3E1246
RGBrgb(62, 18, 70)
HSLhsl(291, 59%, 17%)
HSVhsv(291, 74%, 27%)
CMYKcmyk(11.4%, 74.3%, 0%, 72.5%)
CIE-LABlab(14.95, 29.85, -22.69)
CIE-LCHlch(14.95, 37.50, 322.77°)
OKLaboklab(27.97% 0.0786 -0.0633)
OKLCHoklch(27.97% 0.101 321.1)
XYZxyz(3.3083, 1.8991, 5.9855)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1246 #1A4612
analogous
#241246 #3E1246 #461234
triadic
#3E1246 #463E12 #12463E
tetradic
#3E1246 #462412 #1A4612 #123446
square
#3E1246 #462412 #1A4612 #123446
split-complementary
#3E1246 #344612 #124624
monochromatic
#160618 #160618 #3E1246 #691F77 #942BA7

Accessibility & contrast

On white

15.22
#3E1246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3E1246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1246
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1246#FFFFFF#000000##FFFFFF
##3E12461.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042248
Deuteranopia (green-blind)
#182745
Tritanopia (blue-blind)
#3F1B2A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e1246;
/* rgb */ color: rgb(62, 18, 70);
/* oklch */ color: oklch(28.0% 0.101 321.1);
Tailwind
colors: {
  custom: {
    50: '#75547a',
    500: '#3e1246',
    950: '#000000',
  },
}
SCSS
$custom: #3e1246;
$custom-light: #75547a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1246",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 290.769,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27972,
    "c": 0.10094,
    "h": 321.1
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#3E1246
secondary
#407F35
accent
#E2465E
background
#F7F5F7
surface
#EDE8ED
border
#C8C4C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1246

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

Preview Lab → · Contrast checker → · Palette generator →

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