#6022A2#6022A2

#6022A2 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.189 H 300.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#6022A2
RGBrgb(96, 34, 162)
HSLhsl(269, 65%, 38%)
HSVhsv(269, 79%, 64%)
CMYKcmyk(40.7%, 79%, 0%, 36.5%)
CIE-LABlab(30.01, 51.93, -57.35)
CIE-LCHlch(30.01, 77.37, 312.16°)
OKLaboklab(42.03% 0.0948 -0.164)
OKLCHoklch(42.03% 0.189 300)
XYZxyz(11.9158, 6.2394, 34.7519)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6022A2 #64A222
analogous
#2224A2 #6022A2 #A022A2
triadic
#6022A2 #A26022 #22A260
tetradic
#6022A2 #A22224 #64A222 #22A2A0
square
#6022A2 #A22224 #64A222 #22A2A0
split-complementary
#6022A2 #A2A022 #24A222
monochromatic
#240D3D #42176F #6022A2 #7E2ED3 #9D61DE

Accessibility & contrast

On white

9.34
#6022A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6022A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6022A2
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6022A2#FFFFFF#000000##FFFFFF
##6022A21.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#504562
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6022a2;
/* rgb */ color: rgb(96, 34, 162);
/* oklch */ color: oklch(42.0% 0.189 300.0);
Tailwind
colors: {
  custom: {
    50: '#9465bf',
    500: '#6022a2',
    950: '#000000',
  },
}
SCSS
$custom: #6022a2;
$custom-light: #9465bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6022a2",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 269.063,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42027,
    "c": 0.18938,
    "h": 300
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#6022A2
secondary
#91C35D
accent
#E84097
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6022A2

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

Preview Lab → · Contrast checker → · Palette generator →

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