#3E1745#3E1745

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

Color values

HEX#3E1745
RGBrgb(62, 23, 69)
HSLhsl(291, 50%, 18%)
HSVhsv(291, 67%, 27%)
CMYKcmyk(10.1%, 66.7%, 0%, 72.9%)
CIE-LABlab(15.83, 27.00, -20.58)
CIE-LCHlch(15.83, 33.95, 322.68°)
OKLaboklab(28.59% 0.0715 -0.0572)
OKLCHoklch(28.59% 0.092 321.3)
XYZxyz(3.3671, 2.0668, 5.8506)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1745 #1E4517
analogous
#271745 #3E1745 #451735
triadic
#3E1745 #453E17 #17453E
tetradic
#3E1745 #452717 #1E4517 #173545
square
#3E1745 #452717 #1E4517 #173545
split-complementary
#3E1745 #354517 #174527
monochromatic
#150817 #150817 #3E1745 #672673 #9036A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E1745#FFFFFF#000000##FFFFFF
##3E17451.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)
#0D2546
Deuteranopia (green-blind)
#1C2944
Tritanopia (blue-blind)
#3F1E2B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e1745;
/* rgb */ color: rgb(62, 23, 69);
/* oklch */ color: oklch(28.6% 0.092 321.3);
Tailwind
colors: {
  custom: {
    50: '#755779',
    500: '#3e1745',
    950: '#000000',
  },
}
SCSS
$custom: #3e1745;
$custom-light: #755779;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1745",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 69
  },
  "hsl": {
    "h": 290.87,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28591,
    "c": 0.09159,
    "h": 321.3
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#3E1745
secondary
#467C3C
accent
#DA4E63
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1745

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

Preview Lab → · Contrast checker → · Palette generator →

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