#3E20AF#3E20AF

#3E20AF is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.6% C 0.206 H 281.0°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#3E20AF
RGBrgb(62, 32, 175)
HSLhsl(253, 69%, 41%)
HSVhsv(253, 82%, 69%)
CMYKcmyk(64.6%, 81.7%, 0%, 31.4%)
CIE-LABlab(27.16, 51.86, -70.01)
CIE-LCHlch(27.16, 87.13, 306.53°)
OKLaboklab(39.56% 0.0394 -0.202)
OKLCHoklch(39.56% 0.206 281)
XYZxyz(10.2385, 5.1515, 41.0039)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E20AF #91AF20
analogous
#204AAF #3E20AF #8520AF
triadic
#3E20AF #AF3E20 #20AF3E
tetradic
#3E20AF #AF204A #91AF20 #20AF85
square
#3E20AF #AF204A #91AF20 #20AF85
split-complementary
#3E20AF #AF8520 #4AAF20
monochromatic
#190D48 #2C177B #3E20AF #5633DA #8066E3

Accessibility & contrast

On white

10.34
#3E20AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3E20AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E20AF
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E20AF#FFFFFF#000000##FFFFFF
##3E20AF1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#004C69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e20af;
/* rgb */ color: rgb(62, 32, 175);
/* oklch */ color: oklch(39.6% 0.206 281.0);
Tailwind
colors: {
  custom: {
    50: '#8361c8',
    500: '#3e20af',
    950: '#000000',
  },
}
SCSS
$custom: #3e20af;
$custom-light: #8361c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e20af",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 252.587,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39555,
    "c": 0.20585,
    "h": 281
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E20AF

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

Preview Lab → · Contrast checker → · Palette generator →

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