#3E20B3#3E20B3

#3E20B3 is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 40.0% C 0.210 H 280.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3E20B3
RGBrgb(62, 32, 179)
HSLhsl(252, 70%, 41%)
HSVhsv(252, 82%, 70%)
CMYKcmyk(65.4%, 82.1%, 0%, 29.8%)
CIE-LABlab(27.60, 53.01, -71.67)
CIE-LCHlch(27.60, 89.15, 306.49°)
OKLaboklab(39.99% 0.0381 -0.2069)
OKLCHoklch(39.99% 0.21 280.4)
XYZxyz(10.6372, 5.3110, 43.1037)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E20B3 #95B320
analogous
#204CB3 #3E20B3 #8820B3
triadic
#3E20B3 #B33E20 #20B33E
tetradic
#3E20B3 #B3204C #95B320 #20B388
square
#3E20B3 #B3204C #95B320 #20B388
split-complementary
#3E20B3 #B38820 #4CB320
monochromatic
#1A0D4B #2C177F #3E20B3 #5735DB #8269E4

Accessibility & contrast

On white

10.18
#3E20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3E20B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E20B3
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E20B3#FFFFFF#000000##FFFFFF
##3E20B31.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B7
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e20b3;
/* rgb */ color: rgb(62, 32, 179);
/* oklch */ color: oklch(40.0% 0.210 280.4);
Tailwind
colors: {
  custom: {
    50: '#8462cb',
    500: '#3e20b3',
    950: '#000000',
  },
}
SCSS
$custom: #3e20b3;
$custom-light: #8462cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e20b3",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 252.245,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39988,
    "c": 0.21037,
    "h": 280.4
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#3E20B3
secondary
#B5CA65
accent
#EC3BC8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3E20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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