#3E1244#3E1244

#3E1244 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.099 H 322.7°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#3E1244
RGBrgb(62, 18, 68)
HSLhsl(293, 58%, 17%)
HSVhsv(293, 74%, 27%)
CMYKcmyk(8.8%, 73.5%, 0%, 73.3%)
CIE-LABlab(14.81, 29.41, -21.51)
CIE-LCHlch(14.81, 36.43, 323.82°)
OKLaboklab(27.83% 0.0786 -0.0599)
OKLCHoklch(27.83% 0.099 322.7)
XYZxyz(3.2462, 1.8743, 5.6585)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1244 #184412
analogous
#251244 #3E1244 #441231
triadic
#3E1244 #443E12 #12443E
tetradic
#3E1244 #442512 #184412 #123144
square
#3E1244 #442512 #184412 #123144
split-complementary
#3E1244 #314412 #124425
monochromatic
#160618 #160618 #3E1244 #6A1F74 #962CA5

Accessibility & contrast

On white

15.27
#3E1244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3E1244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1244
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1244#FFFFFF#000000##FFFFFF
##3E12441.0015.271.3715.27
#FFFFFF15.271.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062245
Deuteranopia (green-blind)
#192743
Tritanopia (blue-blind)
#3F1A29
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e1244;
/* rgb */ color: rgb(62, 18, 68);
/* oklch */ color: oklch(27.8% 0.099 322.7);
Tailwind
colors: {
  custom: {
    50: '#755478',
    500: '#3e1244',
    950: '#000000',
  },
}
SCSS
$custom: #3e1244;
$custom-light: #755478;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1244",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 68
  },
  "hsl": {
    "h": 292.8,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27831,
    "c": 0.09883,
    "h": 322.7
  },
  "luminance": 0.01874
}

Semantic roles & 50–950 ramp

primary
#3E1244
secondary
#3D7D35
accent
#E14659
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1244

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

Preview Lab → · Contrast checker → · Palette generator →

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