#6220A6#6220A6

#6220A6 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.196 H 300.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#6220A6
RGBrgb(98, 32, 166)
HSLhsl(270, 68%, 39%)
HSVhsv(270, 81%, 65%)
CMYKcmyk(41%, 80.7%, 0%, 34.9%)
CIE-LABlab(30.36, 54.01, -59.19)
CIE-LCHlch(30.36, 80.13, 312.38°)
OKLaboklab(42.44% 0.0982 -0.1693)
OKLCHoklch(42.44% 0.196 300.1)
XYZxyz(12.4347, 6.3827, 36.6459)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6220A6 #64A620
analogous
#2021A6 #6220A6 #A520A6
triadic
#6220A6 #A66220 #20A662
tetradic
#6220A6 #A62021 #64A620 #20A6A5
square
#6220A6 #A62021 #64A620 #20A6A5
split-complementary
#6220A6 #A6A520 #21A620
monochromatic
#250C3F #441673 #6220A6 #802DD6 #9F60E0

Accessibility & contrast

On white

9.22
#6220A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6220A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6220A6
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6220A6#FFFFFF#000000##FFFFFF
##6220A61.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#524564
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6220a6;
/* rgb */ color: rgb(98, 32, 166);
/* oklch */ color: oklch(42.4% 0.196 300.1);
Tailwind
colors: {
  custom: {
    50: '#9664c1',
    500: '#6220a6',
    950: '#000000',
  },
}
SCSS
$custom: #6220a6;
$custom-light: #9664c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6220a6",
  "rgb": {
    "r": 98,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 269.552,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42437,
    "c": 0.19567,
    "h": 300.1
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#6220A6
secondary
#92C55D
accent
#EB3D95
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6220A6

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

Preview Lab → · Contrast checker → · Palette generator →

#6220A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva