#3E1640#3E1640

#3E1640 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.1% C 0.088 H 325.7°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#3E1640
RGBrgb(62, 22, 64)
HSLhsl(297, 49%, 17%)
HSVhsv(297, 66%, 25%)
CMYKcmyk(3.1%, 65.6%, 0%, 74.9%)
CIE-LABlab(15.32, 26.43, -17.91)
CIE-LCHlch(15.32, 31.93, 325.88°)
OKLaboklab(28.12% 0.0726 -0.0495)
OKLCHoklch(28.12% 0.088 325.7)
XYZxyz(3.1989, 1.9683, 5.0609)
Luminance0.0197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1640 #184016
analogous
#291640 #3E1640 #40162D
triadic
#3E1640 #403E16 #16403E
tetradic
#3E1640 #402916 #184016 #162D40
square
#3E1640 #402916 #184016 #162D40
split-complementary
#3E1640 #2D4016 #164029
monochromatic
#160817 #160817 #3E1640 #6A266E #96359B

Accessibility & contrast

On white

15.07
#3E1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3E1640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1640
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1640#FFFFFF#000000##FFFFFF
##3E16401.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102341
Deuteranopia (green-blind)
#1E283F
Tritanopia (blue-blind)
#401B28
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e1640;
/* rgb */ color: rgb(62, 22, 64);
/* oklch */ color: oklch(28.1% 0.088 325.7);
Tailwind
colors: {
  custom: {
    50: '#755675',
    500: '#3e1640',
    950: '#000000',
  },
}
SCSS
$custom: #3e1640;
$custom-light: #755675;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1640",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 297.143,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28116,
    "c": 0.08786,
    "h": 325.7
  },
  "luminance": 0.01968
}

Semantic roles & 50–950 ramp

primary
#3E1640
secondary
#3D773B
accent
#D84F56
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3E1640

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

Preview Lab → · Contrast checker → · Palette generator →

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