#3C219F#3C219F

#3C219F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.187 H 282.6°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#3C219F
RGBrgb(60, 33, 159)
HSLhsl(253, 66%, 38%)
HSVhsv(253, 79%, 62%)
CMYKcmyk(62.3%, 79.2%, 0%, 37.6%)
CIE-LABlab(25.42, 46.51, -63.23)
CIE-LCHlch(25.42, 78.49, 306.33°)
OKLaboklab(37.79% 0.0408 -0.1824)
OKLCHoklch(37.79% 0.187 282.6)
XYZxyz(8.6634, 4.5510, 33.2161)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C219F #849F21
analogous
#21459F #3C219F #7B219F
triadic
#3C219F #9F3C21 #219F3C
tetradic
#3C219F #9F2145 #849F21 #219F7B
square
#3C219F #9F2145 #849F21 #219F7B
split-complementary
#3C219F #9F7B21 #459F21
monochromatic
#160C3A #29166C #3C219F #4F2CD2 #795DDD

Accessibility & contrast

On white

10.99
#3C219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3C219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C219F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C219F#FFFFFF#000000##FFFFFF
##3C219F1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c219f;
/* rgb */ color: rgb(60, 33, 159);
/* oklch */ color: oklch(37.8% 0.187 282.6);
Tailwind
colors: {
  custom: {
    50: '#7f61bd',
    500: '#3c219f',
    950: '#000000',
  },
}
SCSS
$custom: #3c219f;
$custom-light: #7f61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c219f",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 252.857,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37788,
    "c": 0.18686,
    "h": 282.6
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#3C219F
secondary
#ACC25A
accent
#E93FC4
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C219F

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

Preview Lab → · Contrast checker → · Palette generator →

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