#6022AF#6022AF

#6022AF is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.2% C 0.203 H 296.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6022AF
RGBrgb(96, 34, 175)
HSLhsl(266, 67%, 41%)
HSVhsv(266, 81%, 69%)
CMYKcmyk(45.1%, 80.6%, 0%, 31.4%)
CIE-LABlab(31.17, 55.15, -63.27)
CIE-LCHlch(31.17, 83.93, 311.07°)
OKLaboklab(43.2% 0.0908 -0.1813)
OKLCHoklch(43.2% 0.203 296.6)
XYZxyz(13.1317, 6.7257, 41.1554)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6022AF #71AF22
analogous
#222AAF #6022AF #A622AF
triadic
#6022AF #AF6022 #22AF60
tetradic
#6022AF #AF222A #71AF22 #22AFA6
square
#6022AF #AF222A #71AF22 #22AFA6
split-complementary
#6022AF #AFA622 #2AAF22
monochromatic
#280E49 #44187C #6022AF #7D36D8 #9E69E2

Accessibility & contrast

On white

8.95
#6022AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6022AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6022AF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6022AF#FFFFFF#000000##FFFFFF
##6022AF1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#4A4A69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6022af;
/* rgb */ color: rgb(96, 34, 175);
/* oklch */ color: oklch(43.2% 0.203 296.6);
Tailwind
colors: {
  custom: {
    50: '#9566c8',
    500: '#6022af',
    950: '#000000',
  },
}
SCSS
$custom: #6022af;
$custom-light: #9566c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6022af",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 266.383,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43195,
    "c": 0.2028,
    "h": 296.6
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#6022AF
secondary
#9CC865
accent
#EA3D9E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6022AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6022AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva