#3E1E82#3E1E82

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

Color values

HEX#3E1E82
RGBrgb(62, 30, 130)
HSLhsl(259, 63%, 31%)
HSVhsv(259, 77%, 51%)
CMYKcmyk(52.3%, 76.9%, 0%, 49%)
CIE-LABlab(22.17, 39.70, -50.58)
CIE-LCHlch(22.17, 64.30, 308.13°)
OKLaboklab(34.69% 0.0545 -0.1453)
OKLCHoklch(34.69% 0.155 290.5)
XYZxyz(6.4790, 3.5641, 21.4613)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E82 #62821E
analogous
#1E3082 #3E1E82 #701E82
triadic
#3E1E82 #823E1E #1E823E
tetradic
#3E1E82 #821E30 #62821E #1E8270
square
#3E1E82 #821E30 #62821E #1E8270
split-complementary
#3E1E82 #82701E #30821E
monochromatic
#0F071F #261350 #3E1E82 #5629B4 #7446D4

Accessibility & contrast

On white

12.26
#3E1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1E82
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E82#FFFFFF#000000##FFFFFF
##3E1E821.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#26394E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e1e82;
/* rgb */ color: rgb(62, 30, 130);
/* oklch */ color: oklch(34.7% 0.155 290.5);
Tailwind
colors: {
  custom: {
    50: '#7b5da7',
    500: '#3e1e82',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e82;
$custom-light: #7b5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e82",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 259.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34686,
    "c": 0.15514,
    "h": 290.5
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#3E1E82
secondary
#92B547
accent
#E642B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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