#3E1D87#3E1D87

#3E1D87 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.162 H 289.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#3E1D87
RGBrgb(62, 29, 135)
HSLhsl(259, 65%, 32%)
HSVhsv(259, 79%, 53%)
CMYKcmyk(54.1%, 78.5%, 0%, 47.1%)
CIE-LABlab(22.49, 41.66, -53.21)
CIE-LCHlch(22.49, 67.58, 308.06°)
OKLaboklab(35.05% 0.0539 -0.153)
OKLCHoklch(35.05% 0.162 289.4)
XYZxyz(6.7979, 3.6518, 23.2637)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D87 #66871D
analogous
#1D3187 #3E1D87 #731D87
triadic
#3E1D87 #873E1D #1D873E
tetradic
#3E1D87 #871D31 #66871D #1D8773
square
#3E1D87 #871D31 #66871D #1D8773
split-complementary
#3E1D87 #87731D #31871D
monochromatic
#100722 #271255 #3E1D87 #5528B9 #7447D7

Accessibility & contrast

On white

12.14
#3E1D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3E1D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D87
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D87#FFFFFF#000000##FFFFFF
##3E1D871.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#223B51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e1d87;
/* rgb */ color: rgb(62, 29, 135);
/* oklch */ color: oklch(35.1% 0.162 289.4);
Tailwind
colors: {
  custom: {
    50: '#7c5dab',
    500: '#3e1d87',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d87;
$custom-light: #7c5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d87",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 258.679,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35053,
    "c": 0.16219,
    "h": 289.4
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#3E1D87
secondary
#96B946
accent
#E840B3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1D87

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

Preview Lab → · Contrast checker → · Palette generator →

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