#3E1D84#3E1D84

#3E1D84 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.159 H 290.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#3E1D84
RGBrgb(62, 29, 132)
HSLhsl(259, 64%, 32%)
HSVhsv(259, 78%, 52%)
CMYKcmyk(53%, 78%, 0%, 48.2%)
CIE-LABlab(22.19, 40.79, -51.81)
CIE-LCHlch(22.19, 65.94, 308.21°)
OKLaboklab(34.76% 0.0547 -0.1489)
OKLCHoklch(34.76% 0.159 290.2)
XYZxyz(6.5896, 3.5685, 22.1669)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D84 #63841D
analogous
#1D3084 #3E1D84 #721D84
triadic
#3E1D84 #843E1D #1D843E
tetradic
#3E1D84 #841D30 #63841D #1D8472
square
#3E1D84 #841D30 #63841D #1D8472
split-complementary
#3E1D84 #84721D #30841D
monochromatic
#0F0720 #261252 #3E1D84 #5628B6 #7445D6

Accessibility & contrast

On white

12.25
#3E1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3E1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D84
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D84#FFFFFF#000000##FFFFFF
##3E1D841.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#253A4F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e1d84;
/* rgb */ color: rgb(62, 29, 132);
/* oklch */ color: oklch(34.8% 0.159 290.2);
Tailwind
colors: {
  custom: {
    50: '#7b5da9',
    500: '#3e1d84',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d84;
$custom-light: #7b5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d84",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 259.223,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34757,
    "c": 0.15862,
    "h": 290.2
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#3E1D84
secondary
#93B746
accent
#E741B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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