#6022AC#6022AC

#6022AC is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.200 H 297.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6022AC
RGBrgb(96, 34, 172)
HSLhsl(267, 67%, 40%)
HSVhsv(267, 80%, 67%)
CMYKcmyk(44.2%, 80.2%, 0%, 32.5%)
CIE-LABlab(30.90, 54.40, -61.92)
CIE-LCHlch(30.90, 82.43, 311.30°)
OKLaboklab(42.92% 0.0918 -0.1774)
OKLCHoklch(42.92% 0.2 297.4)
XYZxyz(12.8403, 6.6092, 39.6209)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6022AC #6EAC22
analogous
#2229AC #6022AC #A522AC
triadic
#6022AC #AC6022 #22AC60
tetradic
#6022AC #AC2229 #6EAC22 #22ACA5
square
#6022AC #AC2229 #6EAC22 #22ACA5
split-complementary
#6022AC #ACA522 #29AC22
monochromatic
#270E46 #431879 #6022AC #7D34D7 #9E67E1

Accessibility & contrast

On white

9.04
#6022AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6022AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6022AC
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6022AC#FFFFFF#000000##FFFFFF
##6022AC1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#4C4967
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6022ac;
/* rgb */ color: rgb(96, 34, 172);
/* oklch */ color: oklch(42.9% 0.200 297.4);
Tailwind
colors: {
  custom: {
    50: '#9565c6',
    500: '#6022ac',
    950: '#000000',
  },
}
SCSS
$custom: #6022ac;
$custom-light: #9565c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6022ac",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 266.957,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42921,
    "c": 0.19971,
    "h": 297.4
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#6022AC
secondary
#9AC763
accent
#EA3E9D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6022AC

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

Preview Lab → · Contrast checker → · Palette generator →

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