#3E20AE#3E20AE

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

Color values

HEX#3E20AE
RGBrgb(62, 32, 174)
HSLhsl(253, 69%, 40%)
HSVhsv(253, 82%, 68%)
CMYKcmyk(64.4%, 81.6%, 0%, 31.8%)
CIE-LABlab(27.05, 51.57, -69.59)
CIE-LCHlch(27.05, 86.62, 306.54°)
OKLaboklab(39.45% 0.0397 -0.2008)
OKLCHoklch(39.45% 0.205 281.2)
XYZxyz(10.1407, 5.1124, 40.4886)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E20AE #90AE20
analogous
#2049AE #3E20AE #8520AE
triadic
#3E20AE #AE3E20 #20AE3E
tetradic
#3E20AE #AE2049 #90AE20 #20AE85
square
#3E20AE #AE2049 #90AE20 #20AE85
split-complementary
#3E20AE #AE8520 #49AE20
monochromatic
#190D47 #2C167A #3E20AE #5532D9 #8066E3

Accessibility & contrast

On white

10.38
#3E20AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3E20AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E20AE
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E20AE#FFFFFF#000000##FFFFFF
##3E20AE1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e20ae;
/* rgb */ color: rgb(62, 32, 174);
/* oklch */ color: oklch(39.4% 0.205 281.2);
Tailwind
colors: {
  custom: {
    50: '#8361c8',
    500: '#3e20ae',
    950: '#000000',
  },
}
SCSS
$custom: #3e20ae;
$custom-light: #8361c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e20ae",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 252.676,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39447,
    "c": 0.20472,
    "h": 281.2
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#3E20AE
secondary
#B2C862
accent
#EC3CC7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3E20AE

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

Preview Lab → · Contrast checker → · Palette generator →

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