#3E0346#3E0346

#3E0346 is a dark, vivid purple. Relative luminance 0.015; OKLCH L 26.5% C 0.120 H 322.4°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#3E0346
RGBrgb(62, 3, 70)
HSLhsl(293, 92%, 14%)
HSVhsv(293, 96%, 27%)
CMYKcmyk(11.4%, 95.7%, 0%, 72.5%)
CIE-LABlab(12.81, 36.00, -26.12)
CIE-LCHlch(12.81, 44.48, 324.04°)
OKLaboklab(26.45% 0.0951 -0.0732)
OKLCHoklch(26.45% 0.12 322.4)
XYZxyz(3.1245, 1.5316, 5.9242)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0346 #0B4603
analogous
#1D0346 #3E0346 #46032D
triadic
#3E0346 #463E03 #03463E
tetradic
#3E0346 #461D03 #0B4603 #032D46
square
#3E0346 #461D03 #0B4603 #032D46
split-complementary
#3E0346 #2D4603 #03461D
monochromatic
#1A011D #1A011D #3E0346 #720681 #A608BB

Accessibility & contrast

On white

16.08
#3E0346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3E0346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0346
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0346#FFFFFF#000000##FFFFFF
##3E03461.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#0E2345
Tritanopia (blue-blind)
#3F1226
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3e0346;
/* rgb */ color: rgb(62, 3, 70);
/* oklch */ color: oklch(26.5% 0.120 322.4);
Tailwind
colors: {
  custom: {
    50: '#764d7a',
    500: '#3e0346',
    950: '#000000',
  },
}
SCSS
$custom: #3e0346;
$custom-light: #764d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0346",
  "rgb": {
    "r": 62,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 292.836,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26452,
    "c": 0.12006,
    "h": 322.4
  },
  "luminance": 0.01531
}

Semantic roles & 50–950 ramp

primary
#3E0346
secondary
#2A871D
accent
#FF2942
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0346

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

Preview Lab → · Contrast checker → · Palette generator →

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