#3C20A3#3C20A3

#3C20A3 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.192 H 282.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3C20A3
RGBrgb(60, 32, 163)
HSLhsl(253, 67%, 38%)
HSVhsv(253, 80%, 64%)
CMYKcmyk(63.2%, 80.4%, 0%, 36.1%)
CIE-LABlab(25.68, 48.17, -65.23)
CIE-LCHlch(25.68, 81.09, 306.44°)
OKLaboklab(38.1% 0.0402 -0.1882)
OKLCHoklch(38.1% 0.192 282)
XYZxyz(8.9888, 4.6374, 35.0647)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C20A3 #87A320
analogous
#2046A3 #3C20A3 #7D20A3
triadic
#3C20A3 #A33C20 #20A33C
tetradic
#3C20A3 #A32046 #87A320 #20A37D
square
#3C20A3 #A32046 #87A320 #20A37D
split-complementary
#3C20A3 #A37D20 #46A320
monochromatic
#160C3D #291670 #3C20A3 #4F2BD5 #7A5EDF

Accessibility & contrast

On white

10.89
#3C20A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C20A3
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C20A3#FFFFFF#000000##FFFFFF
##3C20A31.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c20a3;
/* rgb */ color: rgb(60, 32, 163);
/* oklch */ color: oklch(38.1% 0.192 282.0);
Tailwind
colors: {
  custom: {
    50: '#8060c0',
    500: '#3c20a3',
    950: '#000000',
  },
}
SCSS
$custom: #3c20a3;
$custom-light: #8060c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c20a3",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 252.824,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38095,
    "c": 0.19243,
    "h": 282
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#3C20A3
secondary
#ADC45B
accent
#EA3EC5
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C20A3

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

Preview Lab → · Contrast checker → · Palette generator →

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