#3E1D83#3E1D83

#3E1D83 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.157 H 290.5°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#3E1D83
RGBrgb(62, 29, 131)
HSLhsl(259, 64%, 31%)
HSVhsv(259, 78%, 51%)
CMYKcmyk(52.7%, 77.9%, 0%, 48.6%)
CIE-LABlab(22.09, 40.50, -51.34)
CIE-LCHlch(22.09, 65.39, 308.27°)
OKLaboklab(34.66% 0.055 -0.1475)
OKLCHoklch(34.66% 0.157 290.5)
XYZxyz(6.5215, 3.5413, 21.8082)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D83 #62831D
analogous
#1D2F83 #3E1D83 #711D83
triadic
#3E1D83 #833E1D #1D833E
tetradic
#3E1D83 #831D2F #62831D #1D8371
square
#3E1D83 #831D2F #62831D #1D8371
split-complementary
#3E1D83 #83711D #2F831D
monochromatic
#0F071F #261251 #3E1D83 #5628B5 #7445D6

Accessibility & contrast

On white

12.29
#3E1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1D83
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D83#FFFFFF#000000##FFFFFF
##3E1D831.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#26394F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e1d83;
/* rgb */ color: rgb(62, 29, 131);
/* oklch */ color: oklch(34.7% 0.157 290.5);
Tailwind
colors: {
  custom: {
    50: '#7b5da8',
    500: '#3e1d83',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d83;
$custom-light: #7b5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d83",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 259.412,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34658,
    "c": 0.15743,
    "h": 290.5
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#3E1D83
secondary
#92B646
accent
#E741B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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