#3C20A9#3C20A9

#3C20A9 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.199 H 281.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#3C20A9
RGBrgb(60, 32, 169)
HSLhsl(252, 68%, 39%)
HSVhsv(252, 81%, 66%)
CMYKcmyk(64.5%, 81.1%, 0%, 33.7%)
CIE-LABlab(26.32, 49.93, -67.79)
CIE-LCHlch(26.32, 84.19, 306.37°)
OKLaboklab(38.74% 0.0383 -0.1956)
OKLCHoklch(38.74% 0.199 281.1)
XYZxyz(9.5392, 4.8575, 37.9633)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C20A9 #8DA920
analogous
#2048A9 #3C20A9 #8120A9
triadic
#3C20A9 #A93C20 #20A93C
tetradic
#3C20A9 #A92048 #8DA920 #20A981
square
#3C20A9 #A92048 #8DA920 #20A981
split-complementary
#3C20A9 #A98120 #48A920
monochromatic
#170D42 #2A1676 #3C20A9 #512FD8 #7C62E1

Accessibility & contrast

On white

10.65
#3C20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3C20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C20A9
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C20A9#FFFFFF#000000##FFFFFF
##3C20A91.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c20a9;
/* rgb */ color: rgb(60, 32, 169);
/* oklch */ color: oklch(38.7% 0.199 281.1);
Tailwind
colors: {
  custom: {
    50: '#8161c4',
    500: '#3c20a9',
    950: '#000000',
  },
}
SCSS
$custom: #3c20a9;
$custom-light: #8161c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c20a9",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 252.263,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38738,
    "c": 0.19935,
    "h": 281.1
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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