#3C20B3#3C20B3

#3C20B3 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.8% C 0.211 H 279.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#3C20B3
RGBrgb(60, 32, 179)
HSLhsl(251, 70%, 41%)
HSVhsv(251, 82%, 70%)
CMYKcmyk(66.5%, 82.1%, 0%, 29.8%)
CIE-LABlab(27.43, 52.83, -71.97)
CIE-LCHlch(27.43, 89.28, 306.28°)
OKLaboklab(39.83% 0.0351 -0.2078)
OKLCHoklch(39.83% 0.211 279.6)
XYZxyz(10.5141, 5.2475, 43.0979)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C20B3 #97B320
analogous
#204DB3 #3C20B3 #8620B3
triadic
#3C20B3 #B33C20 #20B33C
tetradic
#3C20B3 #B3204D #97B320 #20B386
square
#3C20B3 #B3204D #97B320 #20B386
split-complementary
#3C20B3 #B38620 #4DB320
monochromatic
#190D4B #2B177F #3C20B3 #5535DB #8169E4

Accessibility & contrast

On white

10.25
#3C20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3C20B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C20B3
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C20B3#FFFFFF#000000##FFFFFF
##3C20B31.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c20b3;
/* rgb */ color: rgb(60, 32, 179);
/* oklch */ color: oklch(39.8% 0.211 279.6);
Tailwind
colors: {
  custom: {
    50: '#8361cb',
    500: '#3c20b3',
    950: '#000000',
  },
}
SCSS
$custom: #3c20b3;
$custom-light: #8361cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3c20b3",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 251.429,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39825,
    "c": 0.21074,
    "h": 279.6
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#3C20B3
secondary
#B7CA65
accent
#EC3BCB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3C20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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