#3C216E#3C216E

#3C216E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.0% C 0.126 H 294.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#3C216E
RGBrgb(60, 33, 110)
HSLhsl(261, 54%, 28%)
HSVhsv(261, 70%, 43%)
CMYKcmyk(45.5%, 70%, 0%, 56.9%)
CIE-LABlab(20.73, 31.76, -40.17)
CIE-LCHlch(20.73, 51.21, 308.33°)
OKLaboklab(33.05% 0.0525 -0.1148)
OKLCHoklch(33.05% 0.126 294.6)
XYZxyz(5.2211, 3.1740, 15.0864)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C216E #536E21
analogous
#212C6E #3C216E #62216E
triadic
#3C216E #6E3C21 #216E3C
tetradic
#3C216E #6E212C #536E21 #216E62
square
#3C216E #6E212C #536E21 #216E62
split-complementary
#3C216E #6E6221 #2C6E21
monochromatic
#0D0718 #22133F #3C216E #562F9D #7143C7

Accessibility & contrast

On white

12.85
#3C216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C216E
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C216E#FFFFFF#000000##FFFFFF
##3C216E1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#2E3344
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3c216e;
/* rgb */ color: rgb(60, 33, 110);
/* oklch */ color: oklch(33.0% 0.126 294.6);
Tailwind
colors: {
  custom: {
    50: '#775e98',
    500: '#3c216e',
    950: '#000000',
  },
}
SCSS
$custom: #3c216e;
$custom-light: #775e98;
$custom-dark: #000000;
JSON
{
  "hex": "#3c216e",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 261.039,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33045,
    "c": 0.12625,
    "h": 294.6
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#3C216E
secondary
#83A249
accent
#DD4BAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C216E

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

Preview Lab → · Contrast checker → · Palette generator →

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