#3E1650#3E1650

#3E1650 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.2% C 0.106 H 313.5°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#3E1650
RGBrgb(62, 22, 80)
HSLhsl(281, 57%, 20%)
HSVhsv(281, 73%, 31%)
CMYKcmyk(22.5%, 72.5%, 0%, 68.6%)
CIE-LABlab(16.39, 30.16, -27.26)
CIE-LCHlch(16.39, 40.65, 317.89°)
OKLaboklab(29.24% 0.0729 -0.0767)
OKLCHoklch(29.24% 0.106 313.5)
XYZxyz(3.7212, 2.1773, 7.8121)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1650 #285016
analogous
#211650 #3E1650 #501645
triadic
#3E1650 #503E16 #16503E
tetradic
#3E1650 #502116 #285016 #164550
square
#3E1650 #502116 #285016 #164550
split-complementary
#3E1650 #455016 #165021
monochromatic
#130718 #190920 #3E1650 #632380 #8830B0

Accessibility & contrast

On white

14.63
#3E1650 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3E1650 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1650
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1650#FFFFFF#000000##FFFFFF
##3E16501.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#132A4F
Tritanopia (blue-blind)
#3C2131
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e1650;
/* rgb */ color: rgb(62, 22, 80);
/* oklch */ color: oklch(29.2% 0.106 313.5);
Tailwind
colors: {
  custom: {
    50: '#765781',
    500: '#3e1650',
    950: '#000000',
  },
}
SCSS
$custom: #3e1650;
$custom-light: #765781;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1650",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 80
  },
  "hsl": {
    "h": 281.379,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.29238,
    "c": 0.10582,
    "h": 313.5
  },
  "luminance": 0.02177
}

Semantic roles & 50–950 ramp

primary
#3E1650
secondary
#52873A
accent
#E04877
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E1650

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

Preview Lab → · Contrast checker → · Palette generator →

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