#3C216C#3C216C

#3C216C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.124 H 295.3°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#3C216C
RGBrgb(60, 33, 108)
HSLhsl(262, 53%, 28%)
HSVhsv(262, 69%, 42%)
CMYKcmyk(44.4%, 69.4%, 0%, 57.6%)
CIE-LABlab(20.56, 31.16, -39.14)
CIE-LCHlch(20.56, 50.03, 308.52°)
OKLaboklab(32.87% 0.0528 -0.1118)
OKLCHoklch(32.87% 0.124 295.3)
XYZxyz(5.1134, 3.1310, 14.5194)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C216C #516C21
analogous
#212C6C #3C216C #61216C
triadic
#3C216C #6C3C21 #216C3C
tetradic
#3C216C #6C212C #516C21 #216C61
square
#3C216C #6C212C #516C21 #216C61
split-complementary
#3C216C #6C6121 #2C6C21
monochromatic
#0D0717 #22133D #3C216C #562F9B #7142C5

Accessibility & contrast

On white

12.91
#3C216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3C216C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C216C
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C216C#FFFFFF#000000##FFFFFF
##3C216C1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#2F3343
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3c216c;
/* rgb */ color: rgb(60, 33, 108);
/* oklch */ color: oklch(32.9% 0.124 295.3);
Tailwind
colors: {
  custom: {
    50: '#765e97',
    500: '#3c216c',
    950: '#000000',
  },
}
SCSS
$custom: #3c216c;
$custom-light: #765e97;
$custom-dark: #000000;
JSON
{
  "hex": "#3c216c",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 261.6,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32873,
    "c": 0.12363,
    "h": 295.3
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#3C216C
secondary
#81A049
accent
#DD4BA8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3C216C

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

Preview Lab → · Contrast checker → · Palette generator →

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