#6220A7#6220A7

#6220A7 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.197 H 299.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#6220A7
RGBrgb(98, 32, 167)
HSLhsl(269, 68%, 39%)
HSVhsv(269, 81%, 65%)
CMYKcmyk(41.3%, 80.8%, 0%, 34.5%)
CIE-LABlab(30.45, 54.25, -59.65)
CIE-LCHlch(30.45, 80.63, 312.29°)
OKLaboklab(42.53% 0.0978 -0.1706)
OKLCHoklch(42.53% 0.197 299.8)
XYZxyz(12.5268, 6.4196, 37.1308)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6220A7 #65A720
analogous
#2022A7 #6220A7 #A620A7
triadic
#6220A7 #A76220 #20A762
tetradic
#6220A7 #A72022 #65A720 #20A7A6
square
#6220A7 #A72022 #65A720 #20A7A6
split-complementary
#6220A7 #A7A620 #22A720
monochromatic
#260C40 #441674 #6220A7 #802DD7 #9F61E1

Accessibility & contrast

On white

9.19
#6220A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6220A7
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6220A7#FFFFFF#000000##FFFFFF
##6220A71.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#514664
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6220a7;
/* rgb */ color: rgb(98, 32, 167);
/* oklch */ color: oklch(42.5% 0.197 299.8);
Tailwind
colors: {
  custom: {
    50: '#9664c2',
    500: '#6220a7',
    950: '#000000',
  },
}
SCSS
$custom: #6220a7;
$custom-light: #9664c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6220a7",
  "rgb": {
    "r": 98,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 269.333,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42526,
    "c": 0.19668,
    "h": 299.8
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#6220A7
secondary
#93C55D
accent
#EB3D96
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6220A7

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

Preview Lab → · Contrast checker → · Palette generator →

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