#3C21C2#3C21C2

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

Color values

HEX#3C21C2
RGBrgb(60, 33, 194)
HSLhsl(250, 71%, 45%)
HSVhsv(250, 83%, 76%)
CMYKcmyk(69.1%, 83%, 0%, 23.9%)
CIE-LABlab(29.27, 56.70, -77.82)
CIE-LCHlch(29.27, 96.29, 306.08°)
OKLaboklab(41.58% 0.03 -0.2248)
OKLCHoklch(41.58% 0.227 277.6)
XYZxyz(12.1418, 5.9423, 51.5356)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C21C2 #A7C221
analogous
#2157C2 #3C21C2 #8D21C2
triadic
#3C21C2 #C23C21 #21C23C
tetradic
#3C21C2 #C22157 #A7C221 #21C28D
square
#3C21C2 #C22157 #A7C221 #21C28D
split-complementary
#3C21C2 #C28D21 #57C221
monochromatic
#1C0F59 #2C188E #3C21C2 #5C41DF #8976E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C21C2#FFFFFF#000000##FFFFFF
##3C21C21.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)
#004BC6
Deuteranopia (green-blind)
#003EBF
Tritanopia (blue-blind)
#005574
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3c21c2;
/* rgb */ color: rgb(60, 33, 194);
/* oklch */ color: oklch(41.6% 0.227 277.6);
Tailwind
colors: {
  custom: {
    50: '#8663d6',
    500: '#3c21c2',
    950: '#000000',
  },
}
SCSS
$custom: #3c21c2;
$custom-light: #8663d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c21c2",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 194
  },
  "hsl": {
    "h": 250.062,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41584,
    "c": 0.2268,
    "h": 277.6
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#3C21C2
secondary
#BFCF70
accent
#EE3AD0
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3C21C2

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

Preview Lab → · Contrast checker → · Palette generator →

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