#3C216F#3C216F

#3C216F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.1% C 0.128 H 294.2°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#3C216F
RGBrgb(60, 33, 111)
HSLhsl(261, 54%, 28%)
HSVhsv(261, 70%, 44%)
CMYKcmyk(45.9%, 70.3%, 0%, 56.5%)
CIE-LABlab(20.81, 32.06, -40.68)
CIE-LCHlch(20.81, 51.79, 308.24°)
OKLaboklab(33.13% 0.0524 -0.1163)
OKLCHoklch(33.13% 0.128 294.2)
XYZxyz(5.2758, 3.1959, 15.3747)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C216F #546F21
analogous
#212D6F #3C216F #63216F
triadic
#3C216F #6F3C21 #216F3C
tetradic
#3C216F #6F212D #546F21 #216F63
square
#3C216F #6F212D #546F21 #216F63
split-complementary
#3C216F #6F6321 #2D6F21
monochromatic
#0D0718 #221340 #3C216F #552F9E #7143C7

Accessibility & contrast

On white

12.81
#3C216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3C216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C216F
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C216F#FFFFFF#000000##FFFFFF
##3C216F1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#2E3445
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3c216f;
/* rgb */ color: rgb(60, 33, 111);
/* oklch */ color: oklch(33.1% 0.128 294.2);
Tailwind
colors: {
  custom: {
    50: '#775e99',
    500: '#3c216f',
    950: '#000000',
  },
}
SCSS
$custom: #3c216f;
$custom-light: #775e99;
$custom-dark: #000000;
JSON
{
  "hex": "#3c216f",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 260.769,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33132,
    "c": 0.12755,
    "h": 294.2
  },
  "luminance": 0.03196
}

Semantic roles & 50–950 ramp

primary
#3C216F
secondary
#84A349
accent
#DE4AAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C216F

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

Preview Lab → · Contrast checker → · Palette generator →

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