#3E1648#3E1648

#3E1648 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.7% C 0.097 H 319.1°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#3E1648
RGBrgb(62, 22, 72)
HSLhsl(288, 53%, 18%)
HSVhsv(288, 69%, 28%)
CMYKcmyk(13.9%, 69.4%, 0%, 71.8%)
CIE-LABlab(15.83, 28.24, -22.67)
CIE-LCHlch(15.83, 36.21, 321.25°)
OKLaboklab(28.65% 0.0731 -0.0633)
OKLCHoklch(28.65% 0.097 319.1)
XYZxyz(3.4431, 2.0660, 6.3470)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1648 #204816
analogous
#251648 #3E1648 #481639
triadic
#3E1648 #483E16 #16483E
tetradic
#3E1648 #482516 #204816 #163948
square
#3E1648 #482516 #204816 #163948
split-complementary
#3E1648 #394816 #164825
monochromatic
#140717 #160819 #3E1648 #662477 #8F33A6

Accessibility & contrast

On white

14.86
#3E1648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3E1648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1648
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1648#FFFFFF#000000##FFFFFF
##3E16481.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08254A
Deuteranopia (green-blind)
#192947
Tritanopia (blue-blind)
#3E1E2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e1648;
/* rgb */ color: rgb(62, 22, 72);
/* oklch */ color: oklch(28.7% 0.097 319.1);
Tailwind
colors: {
  custom: {
    50: '#75567b',
    500: '#3e1648',
    950: '#000000',
  },
}
SCSS
$custom: #3e1648;
$custom-light: #75567b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1648",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 288,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28652,
    "c": 0.09669,
    "h": 319.1
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#3E1648
secondary
#487F3A
accent
#DD4B68
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1648

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

Preview Lab → · Contrast checker → · Palette generator →

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