#3C20A8#3C20A8

#3C20A8 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.198 H 281.2°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#3C20A8
RGBrgb(60, 32, 168)
HSLhsl(252, 68%, 39%)
HSVhsv(252, 81%, 66%)
CMYKcmyk(64.3%, 81%, 0%, 34.1%)
CIE-LABlab(26.22, 49.63, -67.37)
CIE-LCHlch(26.22, 83.68, 306.38°)
OKLaboklab(38.63% 0.0386 -0.1944)
OKLCHoklch(38.63% 0.198 281.2)
XYZxyz(9.4456, 4.8201, 37.4708)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C20A8 #8CA820
analogous
#2048A8 #3C20A8 #8020A8
triadic
#3C20A8 #A83C20 #20A83C
tetradic
#3C20A8 #A82048 #8CA820 #20A880
square
#3C20A8 #A82048 #8CA820 #20A880
split-complementary
#3C20A8 #A88020 #48A820
monochromatic
#170C41 #2A1675 #3C20A8 #512ED7 #7C61E1

Accessibility & contrast

On white

10.69
#3C20A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3C20A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C20A8
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C20A8#FFFFFF#000000##FFFFFF
##3C20A81.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c20a8;
/* rgb */ color: rgb(60, 32, 168);
/* oklch */ color: oklch(38.6% 0.198 281.2);
Tailwind
colors: {
  custom: {
    50: '#8161c3',
    500: '#3c20a8',
    950: '#000000',
  },
}
SCSS
$custom: #3c20a8;
$custom-light: #8161c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c20a8",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 252.353,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3863,
    "c": 0.1982,
    "h": 281.2
  },
  "luminance": 0.04821
}

Semantic roles & 50–950 ramp

primary
#3C20A8
secondary
#B0C65E
accent
#EB3DC7
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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