#3E0846#3E0846

#3E0846 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.9% C 0.114 H 322.0°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#3E0846
RGBrgb(62, 8, 70)
HSLhsl(292, 79%, 15%)
HSVhsv(292, 89%, 27%)
CMYKcmyk(11.4%, 88.6%, 0%, 72.5%)
CIE-LABlab(13.47, 34.05, -25.05)
CIE-LCHlch(13.47, 42.27, 323.67°)
OKLaboklab(26.92% 0.0899 -0.0701)
OKLCHoklch(26.92% 0.114 322)
XYZxyz(3.1788, 1.6402, 5.9423)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0846 #104608
analogous
#1F0846 #3E0846 #46082F
triadic
#3E0846 #463E08 #08463E
tetradic
#3E0846 #461F08 #104608 #082F46
square
#3E0846 #461F08 #104608 #082F46
split-complementary
#3E0846 #2F4608 #08461F
monochromatic
#18031B #18031B #3E0846 #6F0E7D #9F15B4

Accessibility & contrast

On white

15.81
#3E0846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3E0846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0846
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0846#FFFFFF#000000##FFFFFF
##3E08461.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#112445
Tritanopia (blue-blind)
#3F1527
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3e0846;
/* rgb */ color: rgb(62, 8, 70);
/* oklch */ color: oklch(26.9% 0.114 322.0);
Tailwind
colors: {
  custom: {
    50: '#764f7a',
    500: '#3e0846',
    950: '#000000',
  },
}
SCSS
$custom: #3e0846;
$custom-light: #764f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0846",
  "rgb": {
    "r": 62,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 292.258,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2692,
    "c": 0.11404,
    "h": 322
  },
  "luminance": 0.0164
}

Semantic roles & 50–950 ramp

primary
#3E0846
secondary
#328426
accent
#F6324B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0846

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

Preview Lab → · Contrast checker → · Palette generator →

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