#3E0747#3E0747

#3E0747 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.9% C 0.116 H 321.4°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#3E0747
RGBrgb(62, 7, 71)
HSLhsl(292, 82%, 15%)
HSVhsv(292, 90%, 28%)
CMYKcmyk(12.7%, 90.1%, 0%, 72.2%)
CIE-LABlab(13.42, 34.64, -25.83)
CIE-LCHlch(13.42, 43.21, 323.29°)
OKLaboklab(26.91% 0.0908 -0.0724)
OKLCHoklch(26.91% 0.116 321.4)
XYZxyz(3.1998, 1.6312, 6.1063)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0747 #104707
analogous
#1E0747 #3E0747 #470730
triadic
#3E0747 #473E07 #07473E
tetradic
#3E0747 #471E07 #104707 #073047
square
#3E0747 #471E07 #104707 #073047
split-complementary
#3E0747 #304707 #07471E
monochromatic
#18031C #18031C #3E0747 #6F0C7F #9F12B6

Accessibility & contrast

On white

15.83
#3E0747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0747
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0747#FFFFFF#000000##FFFFFF
##3E07471.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#102446
Tritanopia (blue-blind)
#3F1528
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3e0747;
/* rgb */ color: rgb(62, 7, 71);
/* oklch */ color: oklch(26.9% 0.116 321.4);
Tailwind
colors: {
  custom: {
    50: '#764f7b',
    500: '#3e0747',
    950: '#000000',
  },
}
SCSS
$custom: #3e0747;
$custom-light: #764f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0747",
  "rgb": {
    "r": 62,
    "g": 7,
    "b": 71
  },
  "hsl": {
    "h": 291.563,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26906,
    "c": 0.11613,
    "h": 321.4
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#3E0747
secondary
#328624
accent
#F82F4C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0747

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

Preview Lab → · Contrast checker → · Palette generator →

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