#3E0647#3E0647

#3E0647 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.8% C 0.117 H 321.5°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#3E0647
RGBrgb(62, 6, 71)
HSLhsl(292, 84%, 15%)
HSVhsv(292, 92%, 28%)
CMYKcmyk(12.7%, 91.5%, 0%, 72.2%)
CIE-LABlab(13.29, 35.02, -26.04)
CIE-LCHlch(13.29, 43.64, 323.37°)
OKLaboklab(26.81% 0.0918 -0.073)
OKLCHoklch(26.81% 0.117 321.5)
XYZxyz(3.1889, 1.6095, 6.1027)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0647 #0F4706
analogous
#1D0647 #3E0647 #470630
triadic
#3E0647 #473E06 #06473E
tetradic
#3E0647 #471D06 #0F4706 #063047
square
#3E0647 #471D06 #0F4706 #063047
split-complementary
#3E0647 #304706 #06471D
monochromatic
#19021C #19021C #3E0647 #6F0B7F #A110B8

Accessibility & contrast

On white

15.89
#3E0647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3E0647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0647
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0647#FFFFFF#000000##FFFFFF
##3E06471.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#0F2446
Tritanopia (blue-blind)
#3F1427
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3e0647;
/* rgb */ color: rgb(62, 6, 71);
/* oklch */ color: oklch(26.8% 0.117 321.5);
Tailwind
colors: {
  custom: {
    50: '#764f7b',
    500: '#3e0647',
    950: '#000000',
  },
}
SCSS
$custom: #3e0647;
$custom-light: #764f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0647",
  "rgb": {
    "r": 62,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 291.692,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26814,
    "c": 0.11731,
    "h": 321.5
  },
  "luminance": 0.01609
}

Semantic roles & 50–950 ramp

primary
#3E0647
secondary
#308623
accent
#FB2D4A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0647

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

Preview Lab → · Contrast checker → · Palette generator →

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