#3E0946#3E0946

#3E0946 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.113 H 322.0°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#3E0946
RGBrgb(62, 9, 70)
HSLhsl(292, 77%, 15%)
HSVhsv(292, 87%, 27%)
CMYKcmyk(11.4%, 87.1%, 0%, 72.5%)
CIE-LABlab(13.60, 33.68, -24.84)
CIE-LCHlch(13.60, 41.85, 323.59°)
OKLaboklab(27.01% 0.0889 -0.0695)
OKLCHoklch(27.01% 0.113 322)
XYZxyz(3.1897, 1.6619, 5.9459)
Luminance0.0166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0946 #114609
analogous
#1F0946 #3E0946 #46092F
triadic
#3E0946 #463E09 #09463E
tetradic
#3E0946 #461F09 #114609 #092F46
square
#3E0946 #461F09 #114609 #092F46
split-complementary
#3E0946 #2F4609 #09461F
monochromatic
#18031B #18031B #3E0946 #6E107C #9E17B2

Accessibility & contrast

On white

15.76
#3E0946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0946
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0946#FFFFFF#000000##FFFFFF
##3E09461.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e0946;
/* rgb */ color: rgb(62, 9, 70);
/* oklch */ color: oklch(27.0% 0.113 322.0);
Tailwind
colors: {
  custom: {
    50: '#76507a',
    500: '#3e0946',
    950: '#000000',
  },
}
SCSS
$custom: #3e0946;
$custom-light: #76507a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0946",
  "rgb": {
    "r": 62,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 292.131,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27011,
    "c": 0.11287,
    "h": 322
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#3E0946
secondary
#338427
accent
#F4344D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0946

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

Preview Lab → · Contrast checker → · Palette generator →

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