#3C1CC2#3C1CC2

#3C1CC2 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.1% C 0.230 H 277.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3C1CC2
RGBrgb(60, 28, 194)
HSLhsl(252, 75%, 44%)
HSVhsv(252, 86%, 76%)
CMYKcmyk(69.1%, 85.6%, 0%, 23.9%)
CIE-LABlab(28.60, 58.67, -78.92)
CIE-LCHlch(28.60, 98.34, 306.63°)
OKLaboklab(41.13% 0.0318 -0.2279)
OKLCHoklch(41.13% 0.23 277.9)
XYZxyz(12.0132, 5.6851, 51.4927)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1CC2 #A2C21C
analogous
#1C4FC2 #3C1CC2 #8F1CC2
triadic
#3C1CC2 #C23C1C #1CC23C
tetradic
#3C1CC2 #C21C4F #A2C21C #1CC28F
square
#3C1CC2 #C21C4F #A2C21C #1CC28F
split-complementary
#3C1CC2 #C28F1C #4FC21C
monochromatic
#1B0D57 #2B148D #3C1CC2 #5939E2 #866EEA

Accessibility & contrast

On white

9.83
#3C1CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3C1CC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1CC2
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1CC2#FFFFFF#000000##FFFFFF
##3C1CC21.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC6
Deuteranopia (green-blind)
#003DBF
Tritanopia (blue-blind)
#005373
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3c1cc2;
/* rgb */ color: rgb(60, 28, 194);
/* oklch */ color: oklch(41.1% 0.230 277.9);
Tailwind
colors: {
  custom: {
    50: '#8661d6',
    500: '#3c1cc2',
    950: '#000000',
  },
}
SCSS
$custom: #3c1cc2;
$custom-light: #8661d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1cc2",
  "rgb": {
    "r": 60,
    "g": 28,
    "b": 194
  },
  "hsl": {
    "h": 251.566,
    "s": 74.775,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4113,
    "c": 0.23011,
    "h": 277.9
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#3C1CC2
secondary
#BCD06A
accent
#F136CD
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83

Preview Lab

Preview with #3C1CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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