#3E0A46#3E0A46

#3E0A46 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.112 H 321.9°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#3E0A46
RGBrgb(62, 10, 70)
HSLhsl(292, 75%, 16%)
HSVhsv(292, 86%, 27%)
CMYKcmyk(11.4%, 85.7%, 0%, 72.5%)
CIE-LABlab(13.73, 33.31, -24.63)
CIE-LCHlch(13.73, 41.43, 323.52°)
OKLaboklab(27.1% 0.0879 -0.069)
OKLCHoklch(27.1% 0.112 321.9)
XYZxyz(3.2005, 1.6836, 5.9496)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0A46 #12460A
analogous
#200A46 #3E0A46 #460A30
triadic
#3E0A46 #463E0A #0A463E
tetradic
#3E0A46 #46200A #12460A #0A3046
square
#3E0A46 #46200A #12460A #0A3046
split-complementary
#3E0A46 #30460A #0A4620
monochromatic
#18041B #18041B #3E0A46 #6D127C #9D19B1

Accessibility & contrast

On white

15.71
#3E0A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3E0A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0A46
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0A46#FFFFFF#000000##FFFFFF
##3E0A461.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e0a46;
/* rgb */ color: rgb(62, 10, 70);
/* oklch */ color: oklch(27.1% 0.112 321.9);
Tailwind
colors: {
  custom: {
    50: '#76507a',
    500: '#3e0a46',
    950: '#000000',
  },
}
SCSS
$custom: #3e0a46;
$custom-light: #76507a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0a46",
  "rgb": {
    "r": 62,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 292,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27102,
    "c": 0.11172,
    "h": 321.9
  },
  "luminance": 0.01683
}

Semantic roles & 50–950 ramp

primary
#3E0A46
secondary
#358329
accent
#F2364F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0A46

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

Preview Lab → · Contrast checker → · Palette generator →

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