#6A16A1#6A16A1

#6A16A1 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.3% C 0.201 H 306.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#6A16A1
RGBrgb(106, 22, 161)
HSLhsl(276, 76%, 36%)
HSVhsv(276, 86%, 63%)
CMYKcmyk(34.2%, 86.3%, 0%, 36.9%)
CIE-LABlab(29.94, 57.35, -56.80)
CIE-LCHlch(29.94, 80.72, 315.27°)
OKLaboklab(42.25% 0.1185 -0.1619)
OKLCHoklch(42.25% 0.201 306.2)
XYZxyz(12.6624, 6.2113, 34.2431)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A16A1 #4DA116
analogous
#2416A1 #6A16A1 #A11692
triadic
#6A16A1 #A16A16 #16A16A
tetradic
#6A16A1 #A12416 #4DA116 #1692A1
square
#6A16A1 #A12416 #4DA116 #1692A1
split-complementary
#6A16A1 #92A116 #16A124
monochromatic
#230735 #470F6B #6A16A1 #8D1DD7 #A94BE6

Accessibility & contrast

On white

9.37
#6A16A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6A16A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A16A1
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A16A1#FFFFFF#000000##FFFFFF
##6A16A11.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a16a1;
/* rgb */ color: rgb(106, 22, 161);
/* oklch */ color: oklch(42.3% 0.201 306.2);
Tailwind
colors: {
  custom: {
    50: '#9b61be',
    500: '#6a16a1',
    950: '#000000',
  },
}
SCSS
$custom: #6a16a1;
$custom-light: #9b61be;
$custom-dark: #000000;
JSON
{
  "hex": "#6a16a1",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 276.259,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42253,
    "c": 0.20061,
    "h": 306.2
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#6A16A1
secondary
#7CC84B
accent
#F33580
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6A16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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