#3E1844#3E1844

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

Color values

HEX#3E1844
RGBrgb(62, 24, 68)
HSLhsl(292, 48%, 18%)
HSVhsv(292, 65%, 27%)
CMYKcmyk(8.8%, 64.7%, 0%, 73.3%)
CIE-LABlab(15.98, 26.21, -19.66)
CIE-LCHlch(15.98, 32.76, 323.12°)
OKLaboklab(28.68% 0.0699 -0.0546)
OKLCHoklch(28.68% 0.089 322)
XYZxyz(3.3565, 2.0949, 5.6953)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1844 #1E4418
analogous
#281844 #3E1844 #441834
triadic
#3E1844 #443E18 #18443E
tetradic
#3E1844 #442818 #1E4418 #183444
square
#3E1844 #442818 #1E4418 #183444
split-complementary
#3E1844 #344418 #184428
monochromatic
#150817 #150817 #3E1844 #672871 #90389E

Accessibility & contrast

On white

14.80
#3E1844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1844
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1844#FFFFFF#000000##FFFFFF
##3E18441.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102545
Deuteranopia (green-blind)
#1D2943
Tritanopia (blue-blind)
#3F1E2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e1844;
/* rgb */ color: rgb(62, 24, 68);
/* oklch */ color: oklch(28.7% 0.089 322.0);
Tailwind
colors: {
  custom: {
    50: '#755778',
    500: '#3e1844',
    950: '#000000',
  },
}
SCSS
$custom: #3e1844;
$custom-light: #755778;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1844",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 291.818,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28676,
    "c": 0.08868,
    "h": 322
  },
  "luminance": 0.02095
}

Semantic roles & 50–950 ramp

primary
#3E1844
secondary
#467B3D
accent
#D75063
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1844

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

Preview Lab → · Contrast checker → · Palette generator →

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