#3E20BB#3E20BB

#3E20BB is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.9% C 0.219 H 279.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3E20BB
RGBrgb(62, 32, 187)
HSLhsl(252, 71%, 43%)
HSVhsv(252, 83%, 73%)
CMYKcmyk(66.8%, 82.9%, 0%, 26.7%)
CIE-LABlab(28.50, 55.29, -74.96)
CIE-LCHlch(28.50, 93.14, 306.41°)
OKLaboklab(40.87% 0.0356 -0.2164)
OKLCHoklch(40.87% 0.219 279.3)
XYZxyz(11.4699, 5.6441, 47.4890)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E20BB #9DBB20
analogous
#204FBB #3E20BB #8B20BB
triadic
#3E20BB #BB3E20 #20BB3E
tetradic
#3E20BB #BB204F #9DBB20 #20BB8B
square
#3E20BB #BB204F #9DBB20 #20BB8B
split-complementary
#3E20BB #BB8B20 #4FBB20
monochromatic
#1B0E52 #2D1787 #3E20BB #5A3BDD #866FE6

Accessibility & contrast

On white

9.86
#3E20BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3E20BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E20BB
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E20BB#FFFFFF#000000##FFFFFF
##3E20BB1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005170
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e20bb;
/* rgb */ color: rgb(62, 32, 187);
/* oklch */ color: oklch(40.9% 0.219 279.3);
Tailwind
colors: {
  custom: {
    50: '#8562d1',
    500: '#3e20bb',
    950: '#000000',
  },
}
SCSS
$custom: #3e20bb;
$custom-light: #8562d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e20bb",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 251.613,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40865,
    "c": 0.21932,
    "h": 279.3
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#3E20BB
secondary
#BACD6A
accent
#EE3ACB
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0514
muted
#7E7A83

Preview Lab

Preview with #3E20BB

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

Preview Lab → · Contrast checker → · Palette generator →

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