#3E1545#3E1545

#3E1545 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.3% C 0.095 H 321.6°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3E1545
RGBrgb(62, 21, 69)
HSLhsl(291, 53%, 18%)
HSVhsv(291, 70%, 27%)
CMYKcmyk(10.1%, 69.6%, 0%, 72.9%)
CIE-LABlab(15.44, 28.09, -21.22)
CIE-LCHlch(15.44, 35.20, 322.94°)
OKLaboklab(28.3% 0.0744 -0.0591)
OKLCHoklch(28.3% 0.095 321.6)
XYZxyz(3.3288, 1.9903, 5.8379)
Luminance0.0199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1545 #1C4515
analogous
#261545 #3E1545 #451534
triadic
#3E1545 #453E15 #15453E
tetradic
#3E1545 #452615 #1C4515 #153445
square
#3E1545 #452615 #1C4515 #153445
split-complementary
#3E1545 #344515 #154526
monochromatic
#150717 #150717 #3E1545 #682374 #9232A3

Accessibility & contrast

On white

15.02
#3E1545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3E1545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1545
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1545#FFFFFF#000000##FFFFFF
##3E15451.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2446
Deuteranopia (green-blind)
#1A2844
Tritanopia (blue-blind)
#3F1D2A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e1545;
/* rgb */ color: rgb(62, 21, 69);
/* oklch */ color: oklch(28.3% 0.095 321.6);
Tailwind
colors: {
  custom: {
    50: '#755679',
    500: '#3e1545',
    950: '#000000',
  },
}
SCSS
$custom: #3e1545;
$custom-light: #755679;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1545",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 291.25,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28303,
    "c": 0.09503,
    "h": 321.6
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#3E1545
secondary
#437D39
accent
#DD4B60
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1545

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

Preview Lab → · Contrast checker → · Palette generator →

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