#6B16A1#6B16A1

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

Color values

HEX#6B16A1
RGBrgb(107, 22, 161)
HSLhsl(277, 76%, 36%)
HSVhsv(277, 86%, 63%)
CMYKcmyk(33.5%, 86.3%, 0%, 36.9%)
CIE-LABlab(30.09, 57.50, -56.55)
CIE-LCHlch(30.09, 80.65, 315.48°)
OKLaboklab(42.39% 0.1199 -0.1611)
OKLCHoklch(42.39% 0.201 306.7)
XYZxyz(12.7819, 6.2730, 34.2487)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B16A1 #4CA116
analogous
#2616A1 #6B16A1 #A11691
triadic
#6B16A1 #A16B16 #16A16B
tetradic
#6B16A1 #A12616 #4CA116 #1691A1
square
#6B16A1 #A12616 #4CA116 #1691A1
split-complementary
#6B16A1 #91A116 #16A126
monochromatic
#230735 #470F6B #6B16A1 #8F1DD7 #AA4BE6

Accessibility & contrast

On white

9.31
#6B16A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6B16A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B16A1
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B16A1#FFFFFF#000000##FFFFFF
##6B16A11.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#613E5F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b16a1;
/* rgb */ color: rgb(107, 22, 161);
/* oklch */ color: oklch(42.4% 0.201 306.7);
Tailwind
colors: {
  custom: {
    50: '#9b61be',
    500: '#6b16a1',
    950: '#000000',
  },
}
SCSS
$custom: #6b16a1;
$custom-light: #9b61be;
$custom-dark: #000000;
JSON
{
  "hex": "#6b16a1",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 276.691,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42389,
    "c": 0.20084,
    "h": 306.7
  },
  "luminance": 0.06273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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