#3C20A4#3C20A4

#3C20A4 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.194 H 281.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3C20A4
RGBrgb(60, 32, 164)
HSLhsl(253, 67%, 38%)
HSVhsv(253, 80%, 64%)
CMYKcmyk(63.4%, 80.5%, 0%, 35.7%)
CIE-LABlab(25.78, 48.46, -65.66)
CIE-LCHlch(25.78, 81.61, 306.43°)
OKLaboklab(38.2% 0.0398 -0.1894)
OKLCHoklch(38.2% 0.194 281.9)
XYZxyz(9.0787, 4.6734, 35.5384)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C20A4 #88A420
analogous
#2046A4 #3C20A4 #7E20A4
triadic
#3C20A4 #A43C20 #20A43C
tetradic
#3C20A4 #A42046 #88A420 #20A47E
square
#3C20A4 #A42046 #88A420 #20A47E
split-complementary
#3C20A4 #A47E20 #46A420
monochromatic
#170C3E #291671 #3C20A4 #502BD6 #7A5FE0

Accessibility & contrast

On white

10.85
#3C20A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3C20A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C20A4
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C20A4#FFFFFF#000000##FFFFFF
##3C20A41.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c20a4;
/* rgb */ color: rgb(60, 32, 164);
/* oklch */ color: oklch(38.2% 0.194 281.9);
Tailwind
colors: {
  custom: {
    50: '#8060c0',
    500: '#3c20a4',
    950: '#000000',
  },
}
SCSS
$custom: #3c20a4;
$custom-light: #8060c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c20a4",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 164
  },
  "hsl": {
    "h": 252.727,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38202,
    "c": 0.19359,
    "h": 281.9
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#3C20A4
secondary
#AEC45C
accent
#EA3EC6
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3C20A4

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

Preview Lab → · Contrast checker → · Palette generator →

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