#6216A0#6216A0

#6216A0 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.1% C 0.198 H 302.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#6216A0
RGBrgb(98, 22, 160)
HSLhsl(273, 76%, 36%)
HSVhsv(273, 86%, 63%)
CMYKcmyk(38.8%, 86.3%, 0%, 37.3%)
CIE-LABlab(28.66, 55.97, -58.33)
CIE-LCHlch(28.66, 80.84, 313.82°)
OKLaboklab(41.1% 0.107 -0.1667)
OKLCHoklch(41.1% 0.198 302.7)
XYZxyz(11.6675, 5.7085, 33.7381)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6216A0 #54A016
analogous
#1D16A0 #6216A0 #A01699
triadic
#6216A0 #A06216 #16A062
tetradic
#6216A0 #A01D16 #54A016 #1699A0
square
#6216A0 #A01D16 #54A016 #1699A0
split-complementary
#6216A0 #99A016 #16A01D
monochromatic
#200734 #410F6A #6216A0 #831DD6 #A04AE6

Accessibility & contrast

On white

9.80
#6216A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6216A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6216A0
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6216A0#FFFFFF#000000##FFFFFF
##6216A01.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#553F5E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6216a0;
/* rgb */ color: rgb(98, 22, 160);
/* oklch */ color: oklch(41.1% 0.198 302.7);
Tailwind
colors: {
  custom: {
    50: '#9560bd',
    500: '#6216a0',
    950: '#000000',
  },
}
SCSS
$custom: #6216a0;
$custom-light: #9560bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6216a0",
  "rgb": {
    "r": 98,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 273.043,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.411,
    "c": 0.19804,
    "h": 302.7
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#6216A0
secondary
#83C84A
accent
#F2358A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #6216A0

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

Preview Lab → · Contrast checker → · Palette generator →

#6216A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva