#3C21AE#3C21AE

#3C21AE is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.4% C 0.204 H 280.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#3C21AE
RGBrgb(60, 33, 174)
HSLhsl(251, 68%, 41%)
HSVhsv(251, 81%, 68%)
CMYKcmyk(65.5%, 81%, 0%, 31.8%)
CIE-LABlab(27.03, 50.93, -69.64)
CIE-LCHlch(27.03, 86.28, 306.18°)
OKLaboklab(39.39% 0.0362 -0.201)
OKLCHoklch(39.39% 0.204 280.2)
XYZxyz(10.0449, 5.1036, 40.4919)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C21AE #93AE21
analogous
#214DAE #3C21AE #8221AE
triadic
#3C21AE #AE3C21 #21AE3C
tetradic
#3C21AE #AE214D #93AE21 #21AE82
square
#3C21AE #AE214D #93AE21 #21AE82
split-complementary
#3C21AE #AE8221 #4DAE21
monochromatic
#190D47 #2A177B #3C21AE #5334D8 #7F67E2

Accessibility & contrast

On white

10.39
#3C21AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3C21AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C21AE
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C21AE#FFFFFF#000000##FFFFFF
##3C21AE1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c21ae;
/* rgb */ color: rgb(60, 33, 174);
/* oklch */ color: oklch(39.4% 0.204 280.2);
Tailwind
colors: {
  custom: {
    50: '#8262c8',
    500: '#3c21ae',
    950: '#000000',
  },
}
SCSS
$custom: #3c21ae;
$custom-light: #8262c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c21ae",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 174
  },
  "hsl": {
    "h": 251.489,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39385,
    "c": 0.20427,
    "h": 280.2
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#3C21AE
secondary
#B4C863
accent
#EB3DCA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3C21AE

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

Preview Lab → · Contrast checker → · Palette generator →

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