#3C20AE#3C20AE

#3C20AE is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.3% C 0.205 H 280.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#3C20AE
RGBrgb(60, 32, 174)
HSLhsl(252, 69%, 40%)
HSVhsv(252, 82%, 68%)
CMYKcmyk(65.5%, 81.6%, 0%, 31.8%)
CIE-LABlab(26.87, 51.38, -69.89)
CIE-LCHlch(26.87, 86.75, 306.32°)
OKLaboklab(39.28% 0.0367 -0.2018)
OKLCHoklch(39.28% 0.205 280.3)
XYZxyz(10.0175, 5.0489, 40.4828)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C20AE #92AE20
analogous
#204BAE #3C20AE #8320AE
triadic
#3C20AE #AE3C20 #20AE3C
tetradic
#3C20AE #AE204B #92AE20 #20AE83
square
#3C20AE #AE204B #92AE20 #20AE83
split-complementary
#3C20AE #AE8320 #4BAE20
monochromatic
#180D47 #2A167A #3C20AE #5332D9 #7E66E3

Accessibility & contrast

On white

10.45
#3C20AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3C20AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C20AE
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C20AE#FFFFFF#000000##FFFFFF
##3C20AE1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c20ae;
/* rgb */ color: rgb(60, 32, 174);
/* oklch */ color: oklch(39.3% 0.205 280.3);
Tailwind
colors: {
  custom: {
    50: '#8261c8',
    500: '#3c20ae',
    950: '#000000',
  },
}
SCSS
$custom: #3c20ae;
$custom-light: #8261c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c20ae",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 251.831,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39279,
    "c": 0.20507,
    "h": 280.3
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#3C20AE
secondary
#B4C862
accent
#EC3CC9
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C20AE

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

Preview Lab → · Contrast checker → · Palette generator →

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