#3C219C#3C219C

#3C219C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.183 H 283.1°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#3C219C
RGBrgb(60, 33, 156)
HSLhsl(253, 65%, 37%)
HSVhsv(253, 79%, 61%)
CMYKcmyk(61.5%, 78.8%, 0%, 38.8%)
CIE-LABlab(25.10, 45.61, -61.92)
CIE-LCHlch(25.10, 76.90, 306.38°)
OKLaboklab(37.47% 0.0417 -0.1785)
OKLCHoklch(37.47% 0.183 283.1)
XYZxyz(8.4062, 4.4481, 31.8616)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C219C #819C21
analogous
#21439C #3C219C #7A219C
triadic
#3C219C #9C3C21 #219C3C
tetradic
#3C219C #9C2143 #819C21 #219C7A
square
#3C219C #9C2143 #819C21 #219C7A
split-complementary
#3C219C #9C7A21 #439C21
monochromatic
#150C37 #291669 #3C219C #4F2CCF #775BDC

Accessibility & contrast

On white

11.11
#3C219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3C219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C219C
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C219C#FFFFFF#000000##FFFFFF
##3C219C1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c219c;
/* rgb */ color: rgb(60, 33, 156);
/* oklch */ color: oklch(37.5% 0.183 283.1);
Tailwind
colors: {
  custom: {
    50: '#7e60ba',
    500: '#3c219c',
    950: '#000000',
  },
}
SCSS
$custom: #3c219c;
$custom-light: #7e60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c219c",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 253.171,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37474,
    "c": 0.18333,
    "h": 283.1
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#3C219C
secondary
#AAC158
accent
#E840C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C219C

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

Preview Lab → · Contrast checker → · Palette generator →

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