#3C20AB#3C20AB

#3C20AB is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.0% C 0.202 H 280.8°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3C20AB
RGBrgb(60, 32, 171)
HSLhsl(252, 68%, 40%)
HSVhsv(252, 81%, 67%)
CMYKcmyk(64.9%, 81.3%, 0%, 32.9%)
CIE-LABlab(26.54, 50.51, -68.64)
CIE-LCHlch(26.54, 85.22, 306.35°)
OKLaboklab(38.95% 0.0377 -0.1981)
OKLCHoklch(38.95% 0.202 280.8)
XYZxyz(9.7284, 4.9332, 38.9597)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C20AB #8FAB20
analogous
#204AAB #3C20AB #8120AB
triadic
#3C20AB #AB3C20 #20AB3C
tetradic
#3C20AB #AB204A #8FAB20 #20AB81
square
#3C20AB #AB204A #8FAB20 #20AB81
split-complementary
#3C20AB #AB8120 #4AAB20
monochromatic
#180D44 #2A1677 #3C20AB #5230D8 #7D63E2

Accessibility & contrast

On white

10.57
#3C20AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3C20AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C20AB
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C20AB#FFFFFF#000000##FFFFFF
##3C20AB1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c20ab;
/* rgb */ color: rgb(60, 32, 171);
/* oklch */ color: oklch(39.0% 0.202 280.8);
Tailwind
colors: {
  custom: {
    50: '#8161c5',
    500: '#3c20ab',
    950: '#000000',
  },
}
SCSS
$custom: #3c20ab;
$custom-light: #8161c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c20ab",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 171
  },
  "hsl": {
    "h": 252.086,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38953,
    "c": 0.20165,
    "h": 280.8
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#3C20AB
secondary
#B2C760
accent
#EB3CC8
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C20AB

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

Preview Lab → · Contrast checker → · Palette generator →

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