#6C16A0#6C16A0

#6C16A0 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.4% C 0.200 H 307.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#6C16A0
RGBrgb(108, 22, 160)
HSLhsl(277, 76%, 36%)
HSVhsv(277, 86%, 63%)
CMYKcmyk(32.5%, 86.3%, 0%, 37.3%)
CIE-LABlab(30.16, 57.43, -55.83)
CIE-LCHlch(30.16, 80.09, 315.81°)
OKLaboklab(42.44% 0.1217 -0.159)
OKLCHoklch(42.44% 0.2 307.4)
XYZxyz(12.8150, 6.3002, 33.7918)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C16A0 #4AA016
analogous
#2716A0 #6C16A0 #A0168F
triadic
#6C16A0 #A06C16 #16A06C
tetradic
#6C16A0 #A02716 #4AA016 #168FA0
square
#6C16A0 #A02716 #4AA016 #168FA0
split-complementary
#6C16A0 #8FA016 #16A027
monochromatic
#230734 #480F6A #6C16A0 #901DD6 #AB4AE6

Accessibility & contrast

On white

9.29
#6C16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6C16A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C16A0
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C16A0#FFFFFF#000000##FFFFFF
##6C16A01.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#633E5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c16a0;
/* rgb */ color: rgb(108, 22, 160);
/* oklch */ color: oklch(42.4% 0.200 307.4);
Tailwind
colors: {
  custom: {
    50: '#9c61bd',
    500: '#6c16a0',
    950: '#000000',
  },
}
SCSS
$custom: #6c16a0;
$custom-light: #9c61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c16a0",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 277.391,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42439,
    "c": 0.20018,
    "h": 307.4
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#6C16A0
secondary
#79C84A
accent
#F2357D
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C16A0

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

Preview Lab → · Contrast checker → · Palette generator →

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