#3E1748#3E1748

#3E1748 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.8% C 0.095 H 318.9°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#3E1748
RGBrgb(62, 23, 72)
HSLhsl(288, 52%, 19%)
HSVhsv(288, 68%, 28%)
CMYKcmyk(13.9%, 68.1%, 0%, 71.8%)
CIE-LABlab(16.03, 27.69, -22.35)
CIE-LCHlch(16.03, 35.59, 321.09°)
OKLaboklab(28.8% 0.0716 -0.0624)
OKLCHoklch(28.8% 0.095 318.9)
XYZxyz(3.4625, 2.1050, 6.3535)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1748 #214817
analogous
#251748 #3E1748 #481739
triadic
#3E1748 #483E17 #17483E
tetradic
#3E1748 #482517 #214817 #173948
square
#3E1748 #482517 #214817 #173948
split-complementary
#3E1748 #394817 #174825
monochromatic
#140717 #16081A #3E1748 #662676 #8E35A5

Accessibility & contrast

On white

14.78
#3E1748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3E1748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1748
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1748#FFFFFF#000000##FFFFFF
##3E17481.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A254A
Deuteranopia (green-blind)
#1A2947
Tritanopia (blue-blind)
#3E1F2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e1748;
/* rgb */ color: rgb(62, 23, 72);
/* oklch */ color: oklch(28.8% 0.095 318.9);
Tailwind
colors: {
  custom: {
    50: '#75577b',
    500: '#3e1748',
    950: '#000000',
  },
}
SCSS
$custom: #3e1748;
$custom-light: #75577b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1748",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 287.755,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28796,
    "c": 0.095,
    "h": 318.9
  },
  "luminance": 0.02105
}

Semantic roles & 50–950 ramp

primary
#3E1748
secondary
#497F3C
accent
#DB4D6A
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1748

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

Preview Lab → · Contrast checker → · Palette generator →

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