#3E20A9#3E20A9

#3E20A9 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.199 H 282.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3E20A9
RGBrgb(62, 32, 169)
HSLhsl(253, 68%, 39%)
HSVhsv(253, 81%, 66%)
CMYKcmyk(63.3%, 81.1%, 0%, 33.7%)
CIE-LABlab(26.51, 50.13, -67.48)
CIE-LCHlch(26.51, 84.06, 306.61°)
OKLaboklab(38.91% 0.0413 -0.1947)
OKLCHoklch(38.91% 0.199 282)
XYZxyz(9.6623, 4.9210, 37.9691)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E20A9 #8BA920
analogous
#2046A9 #3E20A9 #8320A9
triadic
#3E20A9 #A93E20 #20A93E
tetradic
#3E20A9 #A92046 #8BA920 #20A983
square
#3E20A9 #A92046 #8BA920 #20A983
split-complementary
#3E20A9 #A98320 #46A920
monochromatic
#180D42 #2B1676 #3E20A9 #542FD8 #7E62E1

Accessibility & contrast

On white

10.58
#3E20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3E20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E20A9
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E20A9#FFFFFF#000000##FFFFFF
##3E20A91.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e20a9;
/* rgb */ color: rgb(62, 32, 169);
/* oklch */ color: oklch(38.9% 0.199 282.0);
Tailwind
colors: {
  custom: {
    50: '#8261c4',
    500: '#3e20a9',
    950: '#000000',
  },
}
SCSS
$custom: #3e20a9;
$custom-light: #8261c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e20a9",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 253.139,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3891,
    "c": 0.19902,
    "h": 282
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#3E20A9
secondary
#B0C65F
accent
#EB3DC5
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3E20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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