#3C20B4#3C20B4

#3C20B4 is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.9% C 0.212 H 279.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#3C20B4
RGBrgb(60, 32, 180)
HSLhsl(251, 70%, 42%)
HSVhsv(251, 82%, 71%)
CMYKcmyk(66.7%, 82.2%, 0%, 29.4%)
CIE-LABlab(27.54, 53.12, -72.38)
CIE-LCHlch(27.54, 89.78, 306.27°)
OKLaboklab(39.93% 0.0348 -0.209)
OKLCHoklch(39.93% 0.212 279.5)
XYZxyz(10.6156, 5.2881, 43.6324)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C20B4 #98B420
analogous
#204EB4 #3C20B4 #8620B4
triadic
#3C20B4 #B43C20 #20B43C
tetradic
#3C20B4 #B4204E #98B420 #20B486
square
#3C20B4 #B4204E #98B420 #20B486
split-complementary
#3C20B4 #B48620 #4EB420
monochromatic
#190E4C #2B1780 #3C20B4 #5536DB #816AE4

Accessibility & contrast

On white

10.21
#3C20B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C20B4
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C20B4#FFFFFF#000000##FFFFFF
##3C20B41.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3c20b4;
/* rgb */ color: rgb(60, 32, 180);
/* oklch */ color: oklch(39.9% 0.212 279.5);
Tailwind
colors: {
  custom: {
    50: '#8361cc',
    500: '#3c20b4',
    950: '#000000',
  },
}
SCSS
$custom: #3c20b4;
$custom-light: #8361cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c20b4",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 180
  },
  "hsl": {
    "h": 251.351,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39934,
    "c": 0.21187,
    "h": 279.5
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#3C20B4
secondary
#B7CA66
accent
#ED3BCB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #3C20B4

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

Preview Lab → · Contrast checker → · Palette generator →

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