#3E0347#3E0347

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

Color values

HEX#3E0347
RGBrgb(62, 3, 71)
HSLhsl(292, 92%, 15%)
HSVhsv(292, 96%, 28%)
CMYKcmyk(12.7%, 95.8%, 0%, 72.2%)
CIE-LABlab(12.89, 36.20, -26.69)
CIE-LCHlch(12.89, 44.97, 323.60°)
OKLaboklab(26.53% 0.0949 -0.0749)
OKLCHoklch(26.53% 0.121 321.7)
XYZxyz(3.1564, 1.5444, 6.0919)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0347 #0C4703
analogous
#1C0347 #3E0347 #47032E
triadic
#3E0347 #473E03 #03473E
tetradic
#3E0347 #471C03 #0C4703 #032E47
square
#3E0347 #471C03 #0C4703 #032E47
split-complementary
#3E0347 #2E4703 #03471C
monochromatic
#1A011D #1A011D #3E0347 #710582 #A508BC

Accessibility & contrast

On white

16.05
#3E0347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0347
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0347#FFFFFF#000000##FFFFFF
##3E03471.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#0D2346
Tritanopia (blue-blind)
#3F1327
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3e0347;
/* rgb */ color: rgb(62, 3, 71);
/* oklch */ color: oklch(26.5% 0.121 321.7);
Tailwind
colors: {
  custom: {
    50: '#764d7b',
    500: '#3e0347',
    950: '#000000',
  },
}
SCSS
$custom: #3e0347;
$custom-light: #764d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0347",
  "rgb": {
    "r": 62,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 292.059,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26533,
    "c": 0.12093,
    "h": 321.7
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#3E0347
secondary
#2C881E
accent
#FF2945
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0347

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

Preview Lab → · Contrast checker → · Palette generator →

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