#6022A9#6022A9

#6022A9 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.197 H 298.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#6022A9
RGBrgb(96, 34, 169)
HSLhsl(268, 67%, 40%)
HSVhsv(268, 80%, 66%)
CMYKcmyk(43.2%, 79.9%, 0%, 33.7%)
CIE-LABlab(30.63, 53.66, -60.57)
CIE-LCHlch(30.63, 80.92, 311.54°)
OKLaboklab(42.65% 0.0927 -0.1734)
OKLCHoklch(42.65% 0.197 298.1)
XYZxyz(12.5555, 6.4952, 38.1206)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6022A9 #6BA922
analogous
#2227A9 #6022A9 #A422A9
triadic
#6022A9 #A96022 #22A960
tetradic
#6022A9 #A92227 #6BA922 #22A9A4
square
#6022A9 #A92227 #6BA922 #22A9A4
split-complementary
#6022A9 #A9A422 #27A922
monochromatic
#260D43 #431876 #6022A9 #7D32D6 #9E65E0

Accessibility & contrast

On white

9.13
#6022A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6022A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6022A9
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6022A9#FFFFFF#000000##FFFFFF
##6022A91.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#4D4866
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6022a9;
/* rgb */ color: rgb(96, 34, 169);
/* oklch */ color: oklch(42.6% 0.197 298.1);
Tailwind
colors: {
  custom: {
    50: '#9565c4',
    500: '#6022a9',
    950: '#000000',
  },
}
SCSS
$custom: #6022a9;
$custom-light: #9565c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6022a9",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 267.556,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4265,
    "c": 0.19661,
    "h": 298.1
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#6022A9
secondary
#97C561
accent
#E93E9B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6022A9

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

Preview Lab → · Contrast checker → · Palette generator →

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