#3E20AD#3E20AD

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

Color values

HEX#3E20AD
RGBrgb(62, 32, 173)
HSLhsl(253, 69%, 40%)
HSVhsv(253, 82%, 68%)
CMYKcmyk(64.2%, 81.5%, 0%, 32.2%)
CIE-LABlab(26.94, 51.29, -69.17)
CIE-LCHlch(26.94, 86.11, 306.55°)
OKLaboklab(39.34% 0.0401 -0.1996)
OKLCHoklch(39.34% 0.204 281.3)
XYZxyz(10.0436, 5.0735, 39.9771)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E20AD #8FAD20
analogous
#2048AD #3E20AD #8420AD
triadic
#3E20AD #AD3E20 #20AD3E
tetradic
#3E20AD #AD2048 #8FAD20 #20AD84
square
#3E20AD #AD2048 #8FAD20 #20AD84
split-complementary
#3E20AD #AD8420 #48AD20
monochromatic
#190D46 #2B1679 #3E20AD #5531D9 #8065E2

Accessibility & contrast

On white

10.42
#3E20AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E20AD
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E20AD#FFFFFF#000000##FFFFFF
##3E20AD1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e20ad;
/* rgb */ color: rgb(62, 32, 173);
/* oklch */ color: oklch(39.3% 0.204 281.3);
Tailwind
colors: {
  custom: {
    50: '#8361c7',
    500: '#3e20ad',
    950: '#000000',
  },
}
SCSS
$custom: #3e20ad;
$custom-light: #8361c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e20ad",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 252.766,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39339,
    "c": 0.20358,
    "h": 281.3
  },
  "luminance": 0.05074
}

Semantic roles & 50–950 ramp

primary
#3E20AD
secondary
#B2C861
accent
#EC3CC6
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3E20AD

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

Preview Lab → · Contrast checker → · Palette generator →

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