#3C219B#3C219B

#3C219B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.182 H 283.3°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#3C219B
RGBrgb(60, 33, 155)
HSLhsl(253, 65%, 37%)
HSVhsv(253, 79%, 61%)
CMYKcmyk(61.3%, 78.7%, 0%, 39.2%)
CIE-LABlab(25.00, 45.31, -61.48)
CIE-LCHlch(25.00, 76.37, 306.39°)
OKLaboklab(37.37% 0.042 -0.1772)
OKLCHoklch(37.37% 0.182 283.3)
XYZxyz(8.3219, 4.4144, 31.4175)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C219B #809B21
analogous
#21439B #3C219B #79219B
triadic
#3C219B #9B3C21 #219B3C
tetradic
#3C219B #9B2143 #809B21 #219B79
square
#3C219B #9B2143 #809B21 #219B79
split-complementary
#3C219B #9B7921 #439B21
monochromatic
#150C36 #281669 #3C219B #502CCD #775ADC

Accessibility & contrast

On white

11.15
#3C219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3C219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C219B
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C219B#FFFFFF#000000##FFFFFF
##3C219B1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3c219b;
/* rgb */ color: rgb(60, 33, 155);
/* oklch */ color: oklch(37.4% 0.182 283.3);
Tailwind
colors: {
  custom: {
    50: '#7e60ba',
    500: '#3c219b',
    950: '#000000',
  },
}
SCSS
$custom: #3c219b;
$custom-light: #7e60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c219b",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 253.279,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37371,
    "c": 0.18214,
    "h": 283.3
  },
  "luminance": 0.04415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C219B

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

Preview Lab → · Contrast checker → · Palette generator →

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