#3C20B2#3C20B2

#3C20B2 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.7% C 0.210 H 279.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#3C20B2
RGBrgb(60, 32, 178)
HSLhsl(252, 70%, 41%)
HSVhsv(252, 82%, 70%)
CMYKcmyk(66.3%, 82%, 0%, 30.2%)
CIE-LABlab(27.32, 52.54, -71.56)
CIE-LCHlch(27.32, 88.77, 306.29°)
OKLaboklab(39.72% 0.0355 -0.2066)
OKLCHoklch(39.72% 0.21 279.7)
XYZxyz(10.4133, 5.2072, 42.5672)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C20B2 #96B220
analogous
#204DB2 #3C20B2 #8520B2
triadic
#3C20B2 #B23C20 #20B23C
tetradic
#3C20B2 #B2204D #96B220 #20B285
square
#3C20B2 #B2204D #96B220 #20B285
split-complementary
#3C20B2 #B28520 #4DB220
monochromatic
#190D4A #2B177E #3C20B2 #5435DB #8068E4

Accessibility & contrast

On white

10.29
#3C20B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3C20B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C20B2
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C20B2#FFFFFF#000000##FFFFFF
##3C20B21.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3c20b2;
/* rgb */ color: rgb(60, 32, 178);
/* oklch */ color: oklch(39.7% 0.210 279.7);
Tailwind
colors: {
  custom: {
    50: '#8361ca',
    500: '#3c20b2',
    950: '#000000',
  },
}
SCSS
$custom: #3c20b2;
$custom-light: #8361ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3c20b2",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 178
  },
  "hsl": {
    "h": 251.507,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39715,
    "c": 0.20961,
    "h": 279.7
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#3C20B2
secondary
#B6CA64
accent
#EC3BCA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3C20B2

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

Preview Lab → · Contrast checker → · Palette generator →

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