#6B16A0#6B16A0

#6B16A0 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.3% C 0.200 H 307.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#6B16A0
RGBrgb(107, 22, 160)
HSLhsl(277, 76%, 36%)
HSVhsv(277, 86%, 63%)
CMYKcmyk(33.1%, 86.3%, 0%, 37.3%)
CIE-LABlab(30.00, 57.28, -56.08)
CIE-LCHlch(30.00, 80.17, 315.61°)
OKLaboklab(42.3% 0.1202 -0.1597)
OKLCHoklch(42.3% 0.2 307)
XYZxyz(12.6941, 6.2378, 33.7862)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B16A0 #4BA016
analogous
#2616A0 #6B16A0 #A01690
triadic
#6B16A0 #A06B16 #16A06B
tetradic
#6B16A0 #A02616 #4BA016 #1690A0
square
#6B16A0 #A02616 #4BA016 #1690A0
split-complementary
#6B16A0 #90A016 #16A026
monochromatic
#230734 #470F6A #6B16A0 #8F1DD6 #AA4AE6

Accessibility & contrast

On white

9.34
#6B16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B16A0
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B16A0#FFFFFF#000000##FFFFFF
##6B16A01.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b16a0;
/* rgb */ color: rgb(107, 22, 160);
/* oklch */ color: oklch(42.3% 0.200 307.0);
Tailwind
colors: {
  custom: {
    50: '#9b61bd',
    500: '#6b16a0',
    950: '#000000',
  },
}
SCSS
$custom: #6b16a0;
$custom-light: #9b61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b16a0",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 276.957,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42302,
    "c": 0.19994,
    "h": 307
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#6B16A0
secondary
#7AC84A
accent
#F2357E
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B16A0

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

Preview Lab → · Contrast checker → · Palette generator →

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