#3E20AB#3E20AB

#3E20AB is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.1% C 0.201 H 281.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#3E20AB
RGBrgb(62, 32, 171)
HSLhsl(253, 68%, 40%)
HSVhsv(253, 81%, 67%)
CMYKcmyk(63.7%, 81.3%, 0%, 32.9%)
CIE-LABlab(26.73, 50.71, -68.33)
CIE-LCHlch(26.73, 85.09, 306.58°)
OKLaboklab(39.12% 0.0407 -0.1971)
OKLCHoklch(39.12% 0.201 281.7)
XYZxyz(9.8515, 4.9967, 38.9655)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E20AB #8DAB20
analogous
#2047AB #3E20AB #8420AB
triadic
#3E20AB #AB3E20 #20AB3E
tetradic
#3E20AB #AB2047 #8DAB20 #20AB84
square
#3E20AB #AB2047 #8DAB20 #20AB84
split-complementary
#3E20AB #AB8420 #47AB20
monochromatic
#190D44 #2B1677 #3E20AB #5430D8 #7F63E2

Accessibility & contrast

On white

10.50
#3E20AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3E20AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E20AB
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E20AB#FFFFFF#000000##FFFFFF
##3E20AB1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e20ab;
/* rgb */ color: rgb(62, 32, 171);
/* oklch */ color: oklch(39.1% 0.201 281.7);
Tailwind
colors: {
  custom: {
    50: '#8261c5',
    500: '#3e20ab',
    950: '#000000',
  },
}
SCSS
$custom: #3e20ab;
$custom-light: #8261c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e20ab",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 171
  },
  "hsl": {
    "h": 252.95,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39124,
    "c": 0.20131,
    "h": 281.7
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#3E20AB
secondary
#B1C760
accent
#EB3CC6
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3E20AB

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

Preview Lab → · Contrast checker → · Palette generator →

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