#3E20C3#3E20C3

#3E20C3 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.8% C 0.228 H 278.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#3E20C3
RGBrgb(62, 32, 195)
HSLhsl(251, 72%, 45%)
HSVhsv(251, 84%, 76%)
CMYKcmyk(68.2%, 83.6%, 0%, 23.5%)
CIE-LABlab(29.40, 57.55, -78.18)
CIE-LCHlch(29.40, 97.07, 306.36°)
OKLaboklab(41.75% 0.033 -0.2258)
OKLCHoklch(41.75% 0.228 278.3)
XYZxyz(12.3503, 5.9962, 52.1257)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E20C3 #A5C320
analogous
#2054C3 #3E20C3 #9020C3
triadic
#3E20C3 #C33E20 #20C33E
tetradic
#3E20C3 #C32054 #A5C320 #20C390
square
#3E20C3 #C32054 #A5C320 #20C390
split-complementary
#3E20C3 #C39020 #54C320
monochromatic
#1D0F5A #2D178E #3E20C3 #5E40E0 #8A75E8

Accessibility & contrast

On white

9.55
#3E20C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3E20C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E20C3
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E20C3#FFFFFF#000000##FFFFFF
##3E20C31.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC7
Deuteranopia (green-blind)
#003FC0
Tritanopia (blue-blind)
#005574
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e20c3;
/* rgb */ color: rgb(62, 32, 195);
/* oklch */ color: oklch(41.8% 0.228 278.3);
Tailwind
colors: {
  custom: {
    50: '#8763d7',
    500: '#3e20c3',
    950: '#000000',
  },
}
SCSS
$custom: #3e20c3;
$custom-light: #8763d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e20c3",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 195
  },
  "hsl": {
    "h": 251.043,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41751,
    "c": 0.22817,
    "h": 278.3
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#3E20C3
secondary
#BECF6F
accent
#EF39CD
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3E20C3

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

Preview Lab → · Contrast checker → · Palette generator →

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