#3E1341#3E1341

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

Color values

HEX#3E1341
RGBrgb(62, 19, 65)
HSLhsl(296, 55%, 16%)
HSVhsv(296, 71%, 25%)
CMYKcmyk(4.6%, 70.8%, 0%, 74.5%)
CIE-LABlab(14.80, 28.25, -19.43)
CIE-LCHlch(14.80, 34.29, 325.48°)
OKLaboklab(27.76% 0.0771 -0.0539)
OKLCHoklch(27.76% 0.094 325.1)
XYZxyz(3.1735, 1.8717, 5.1941)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1341 #164113
analogous
#271341 #3E1341 #41132D
triadic
#3E1341 #413E13 #13413E
tetradic
#3E1341 #412713 #164113 #132D41
square
#3E1341 #412713 #164113 #132D41
split-complementary
#3E1341 #2D4113 #134127
monochromatic
#170718 #170718 #3E1341 #6B2170 #982FA0

Accessibility & contrast

On white

15.28
#3E1341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1341
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1341#FFFFFF#000000##FFFFFF
##3E13411.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2242
Deuteranopia (green-blind)
#1B2740
Tritanopia (blue-blind)
#401A28
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e1341;
/* rgb */ color: rgb(62, 19, 65);
/* oklch */ color: oklch(27.8% 0.094 325.1);
Tailwind
colors: {
  custom: {
    50: '#755476',
    500: '#3e1341',
    950: '#000000',
  },
}
SCSS
$custom: #3e1341;
$custom-light: #755476;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1341",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 296.087,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27757,
    "c": 0.09407,
    "h": 325.1
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#3E1341
secondary
#3B7A36
accent
#DE4A53
background
#F7F5F7
surface
#EDE8ED
border
#C8C4C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3E1341

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

Preview Lab → · Contrast checker → · Palette generator →

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