#3C219D#3C219D

#3C219D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.185 H 283.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#3C219D
RGBrgb(60, 33, 157)
HSLhsl(253, 65%, 37%)
HSVhsv(253, 79%, 62%)
CMYKcmyk(61.8%, 79%, 0%, 38.4%)
CIE-LABlab(25.21, 45.91, -62.36)
CIE-LCHlch(25.21, 77.43, 306.36°)
OKLaboklab(37.58% 0.0414 -0.1798)
OKLCHoklch(37.58% 0.185 283)
XYZxyz(8.4913, 4.4821, 32.3094)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C219D #829D21
analogous
#21449D #3C219D #7A219D
triadic
#3C219D #9D3C21 #219D3C
tetradic
#3C219D #9D2144 #829D21 #219D7A
square
#3C219D #9D2144 #829D21 #219D7A
split-complementary
#3C219D #9D7A21 #449D21
monochromatic
#150C38 #29166A #3C219D #4F2CD0 #785CDD

Accessibility & contrast

On white

11.07
#3C219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3C219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C219D
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C219D#FFFFFF#000000##FFFFFF
##3C219D1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c219d;
/* rgb */ color: rgb(60, 33, 157);
/* oklch */ color: oklch(37.6% 0.185 283.0);
Tailwind
colors: {
  custom: {
    50: '#7f60bb',
    500: '#3c219d',
    950: '#000000',
  },
}
SCSS
$custom: #3c219d;
$custom-light: #7f60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3c219d",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 253.065,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37579,
    "c": 0.18451,
    "h": 283
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#3C219D
secondary
#AAC159
accent
#E840C4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C219D

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

Preview Lab → · Contrast checker → · Palette generator →

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