#6C16A1#6C16A1

#6C16A1 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.5% C 0.201 H 307.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#6C16A1
RGBrgb(108, 22, 161)
HSLhsl(277, 76%, 36%)
HSVhsv(277, 86%, 63%)
CMYKcmyk(32.9%, 86.3%, 0%, 36.9%)
CIE-LABlab(30.24, 57.65, -56.29)
CIE-LCHlch(30.24, 80.58, 315.68°)
OKLaboklab(42.53% 0.1214 -0.1603)
OKLCHoklch(42.53% 0.201 307.1)
XYZxyz(12.9029, 6.3353, 34.2544)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C16A1 #4BA116
analogous
#2616A1 #6C16A1 #A11690
triadic
#6C16A1 #A16C16 #16A16C
tetradic
#6C16A1 #A12616 #4BA116 #1690A1
square
#6C16A1 #A12616 #4BA116 #1690A1
split-complementary
#6C16A1 #90A116 #16A126
monochromatic
#240735 #480F6B #6C16A1 #901DD7 #AB4BE6

Accessibility & contrast

On white

9.26
#6C16A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6C16A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C16A1
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C16A1#FFFFFF#000000##FFFFFF
##6C16A11.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#633E5F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c16a1;
/* rgb */ color: rgb(108, 22, 161);
/* oklch */ color: oklch(42.5% 0.201 307.1);
Tailwind
colors: {
  custom: {
    50: '#9c61be',
    500: '#6c16a1',
    950: '#000000',
  },
}
SCSS
$custom: #6c16a1;
$custom-light: #9c61be;
$custom-dark: #000000;
JSON
{
  "hex": "#6c16a1",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 277.122,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42525,
    "c": 0.20108,
    "h": 307.1
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#6C16A1
secondary
#7BC84B
accent
#F3357D
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C16A1

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

Preview Lab → · Contrast checker → · Palette generator →

#6C16A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva