#3E0648#3E0648

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

Color values

HEX#3E0648
RGBrgb(62, 6, 72)
HSLhsl(291, 85%, 15%)
HSVhsv(291, 92%, 28%)
CMYKcmyk(13.9%, 91.7%, 0%, 71.8%)
CIE-LABlab(13.37, 35.23, -26.61)
CIE-LCHlch(13.37, 44.15, 322.93°)
OKLaboklab(26.89% 0.0916 -0.0747)
OKLCHoklch(26.89% 0.118 320.8)
XYZxyz(3.2213, 1.6224, 6.2731)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0648 #104806
analogous
#1D0648 #3E0648 #480631
triadic
#3E0648 #483E06 #06483E
tetradic
#3E0648 #481D06 #104806 #063148
square
#3E0648 #481D06 #104806 #063148
split-complementary
#3E0648 #314806 #06481D
monochromatic
#18021C #18021C #3E0648 #6F0B80 #9F0FB9

Accessibility & contrast

On white

15.86
#3E0648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0648
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0648#FFFFFF#000000##FFFFFF
##3E06481.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4A
Deuteranopia (green-blind)
#0E2447
Tritanopia (blue-blind)
#3E1528
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3e0648;
/* rgb */ color: rgb(62, 6, 72);
/* oklch */ color: oklch(26.9% 0.118 320.8);
Tailwind
colors: {
  custom: {
    50: '#764f7b',
    500: '#3e0648',
    950: '#000000',
  },
}
SCSS
$custom: #3e0648;
$custom-light: #764f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0648",
  "rgb": {
    "r": 62,
    "g": 6,
    "b": 72
  },
  "hsl": {
    "h": 290.909,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26894,
    "c": 0.11823,
    "h": 320.8
  },
  "luminance": 0.01622
}

Semantic roles & 50–950 ramp

primary
#3E0648
secondary
#328723
accent
#FB2D4C
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0648

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

Preview Lab → · Contrast checker → · Palette generator →

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