#3E1FAE#3E1FAE

#3E1FAE is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.3% C 0.205 H 281.3°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3E1FAE
RGBrgb(62, 31, 174)
HSLhsl(253, 70%, 40%)
HSVhsv(253, 82%, 68%)
CMYKcmyk(64.4%, 82.2%, 0%, 31.8%)
CIE-LABlab(26.90, 52.01, -69.84)
CIE-LCHlch(26.90, 87.08, 306.68°)
OKLaboklab(39.34% 0.0402 -0.2015)
OKLCHoklch(39.34% 0.206 281.3)
XYZxyz(10.1142, 5.0593, 40.4798)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1FAE #8FAE1F
analogous
#1F47AE #3E1FAE #851FAE
triadic
#3E1FAE #AE3E1F #1FAE3E
tetradic
#3E1FAE #AE1F47 #8FAE1F #1FAE85
square
#3E1FAE #AE1F47 #8FAE1F #1FAE85
split-complementary
#3E1FAE #AE851F #47AE1F
monochromatic
#190C46 #2B167A #3E1FAE #5530DA #8064E3

Accessibility & contrast

On white

10.44
#3E1FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3E1FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1FAE
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1FAE#FFFFFF#000000##FFFFFF
##3E1FAE1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e1fae;
/* rgb */ color: rgb(62, 31, 174);
/* oklch */ color: oklch(39.3% 0.205 281.3);
Tailwind
colors: {
  custom: {
    50: '#8361c8',
    500: '#3e1fae',
    950: '#000000',
  },
}
SCSS
$custom: #3e1fae;
$custom-light: #8361c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1fae",
  "rgb": {
    "r": 62,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 253.007,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39343,
    "c": 0.2055,
    "h": 281.3
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#3E1FAE
secondary
#B2C860
accent
#ED3BC6
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3E1FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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