#6A16A0#6A16A0

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

Color values

HEX#6A16A0
RGBrgb(106, 22, 160)
HSLhsl(277, 76%, 36%)
HSVhsv(277, 86%, 63%)
CMYKcmyk(33.7%, 86.3%, 0%, 37.3%)
CIE-LABlab(29.85, 57.13, -56.34)
CIE-LCHlch(29.85, 80.24, 315.40°)
OKLaboklab(42.17% 0.1188 -0.1605)
OKLCHoklch(42.17% 0.2 306.5)
XYZxyz(12.5745, 6.1762, 33.7806)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A16A0 #4CA016
analogous
#2516A0 #6A16A0 #A01691
triadic
#6A16A0 #A06A16 #16A06A
tetradic
#6A16A0 #A02516 #4CA016 #1691A0
square
#6A16A0 #A02516 #4CA016 #1691A0
split-complementary
#6A16A0 #91A016 #16A025
monochromatic
#230734 #460F6A #6A16A0 #8E1DD6 #A94AE6

Accessibility & contrast

On white

9.40
#6A16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A16A0
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A16A0#FFFFFF#000000##FFFFFF
##6A16A01.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a16a0;
/* rgb */ color: rgb(106, 22, 160);
/* oklch */ color: oklch(42.2% 0.200 306.5);
Tailwind
colors: {
  custom: {
    50: '#9b61bd',
    500: '#6a16a0',
    950: '#000000',
  },
}
SCSS
$custom: #6a16a0;
$custom-light: #9b61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a16a0",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 276.522,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42166,
    "c": 0.19971,
    "h": 306.5
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#6A16A0
secondary
#7BC84A
accent
#F2357F
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6A16A0

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

Preview Lab → · Contrast checker → · Palette generator →

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