#3C20C3#3C20C3

#3C20C3 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.6% C 0.229 H 277.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#3C20C3
RGBrgb(60, 32, 195)
HSLhsl(250, 72%, 45%)
HSVhsv(250, 84%, 76%)
CMYKcmyk(69.2%, 83.6%, 0%, 23.5%)
CIE-LABlab(29.24, 57.40, -78.45)
CIE-LCHlch(29.24, 97.20, 306.19°)
OKLaboklab(41.6% 0.0301 -0.2266)
OKLCHoklch(41.6% 0.229 277.6)
XYZxyz(12.2271, 5.9327, 52.1199)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C20C3 #A7C320
analogous
#2055C3 #3C20C3 #8E20C3
triadic
#3C20C3 #C33C20 #20C33C
tetradic
#3C20C3 #C32055 #A7C320 #20C38E
square
#3C20C3 #C32055 #A7C320 #20C38E
split-complementary
#3C20C3 #C38E20 #55C320
monochromatic
#1C0F5A #2C178E #3C20C3 #5C40E0 #8975E8

Accessibility & contrast

On white

9.60
#3C20C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3C20C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C20C3
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C20C3#FFFFFF#000000##FFFFFF
##3C20C31.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC7
Deuteranopia (green-blind)
#003EC0
Tritanopia (blue-blind)
#005574
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3c20c3;
/* rgb */ color: rgb(60, 32, 195);
/* oklch */ color: oklch(41.6% 0.229 277.6);
Tailwind
colors: {
  custom: {
    50: '#8663d7',
    500: '#3c20c3',
    950: '#000000',
  },
}
SCSS
$custom: #3c20c3;
$custom-light: #8663d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c20c3",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 195
  },
  "hsl": {
    "h": 250.307,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.416,
    "c": 0.2286,
    "h": 277.6
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#3C20C3
secondary
#BFCF6F
accent
#EF39CF
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3C20C3

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

Preview Lab → · Contrast checker → · Palette generator →

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