#6022A0#6022A0

#6022A0 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.187 H 300.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#6022A0
RGBrgb(96, 34, 160)
HSLhsl(270, 65%, 38%)
HSVhsv(270, 79%, 63%)
CMYKcmyk(40%, 78.8%, 0%, 37.3%)
CIE-LABlab(29.83, 51.44, -56.43)
CIE-LCHlch(29.83, 76.36, 312.35°)
OKLaboklab(41.85% 0.0953 -0.1612)
OKLCHoklch(41.85% 0.187 300.6)
XYZxyz(11.7395, 6.1688, 33.8231)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6022A0 #62A022
analogous
#2223A0 #6022A0 #9F22A0
triadic
#6022A0 #A06022 #22A060
tetradic
#6022A0 #A02223 #62A022 #22A09F
square
#6022A0 #A02223 #62A022 #22A09F
split-complementary
#6022A0 #A09F22 #23A022
monochromatic
#230D3B #42176E #6022A0 #7E2DD2 #9D5FDD

Accessibility & contrast

On white

9.40
#6022A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6022A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6022A0
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6022A0#FFFFFF#000000##FFFFFF
##6022A01.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#514461
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6022a0;
/* rgb */ color: rgb(96, 34, 160);
/* oklch */ color: oklch(41.9% 0.187 300.6);
Tailwind
colors: {
  custom: {
    50: '#9465bd',
    500: '#6022a0',
    950: '#000000',
  },
}
SCSS
$custom: #6022a0;
$custom-light: #9465bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6022a0",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 269.524,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41852,
    "c": 0.1873,
    "h": 300.6
  },
  "luminance": 0.06169
}

Semantic roles & 50–950 ramp

primary
#6022A0
secondary
#90C25C
accent
#E84095
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6022A0

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

Preview Lab → · Contrast checker → · Palette generator →

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