#3E1E83#3E1E83

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

Color values

HEX#3E1E83
RGBrgb(62, 30, 131)
HSLhsl(259, 63%, 32%)
HSVhsv(259, 77%, 51%)
CMYKcmyk(52.7%, 77.1%, 0%, 48.6%)
CIE-LABlab(22.27, 39.99, -51.05)
CIE-LCHlch(22.27, 64.85, 308.08°)
OKLaboklab(34.78% 0.0542 -0.1466)
OKLCHoklch(34.78% 0.156 290.3)
XYZxyz(6.5464, 3.5911, 21.8165)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E83 #63831E
analogous
#1E3183 #3E1E83 #711E83
triadic
#3E1E83 #833E1E #1E833E
tetradic
#3E1E83 #831E31 #63831E #1E8371
square
#3E1E83 #831E31 #63831E #1E8371
split-complementary
#3E1E83 #83711E #31831E
monochromatic
#0F071F #261351 #3E1E83 #5629B5 #7447D5

Accessibility & contrast

On white

12.22
#3E1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3E1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E83
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E83#FFFFFF#000000##FFFFFF
##3E1E831.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1e83;
/* rgb */ color: rgb(62, 30, 131);
/* oklch */ color: oklch(34.8% 0.156 290.3);
Tailwind
colors: {
  custom: {
    50: '#7b5da8',
    500: '#3e1e83',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e83;
$custom-light: #7b5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e83",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 259.01,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34783,
    "c": 0.15634,
    "h": 290.3
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#3E1E83
secondary
#93B647
accent
#E642B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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