#6022A7#6022A7

#6022A7 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.195 H 298.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#6022A7
RGBrgb(96, 34, 167)
HSLhsl(268, 66%, 39%)
HSVhsv(268, 80%, 65%)
CMYKcmyk(42.5%, 79.6%, 0%, 34.5%)
CIE-LABlab(30.45, 53.16, -59.65)
CIE-LCHlch(30.45, 79.91, 311.71°)
OKLaboklab(42.47% 0.0933 -0.1707)
OKLCHoklch(42.47% 0.195 298.7)
XYZxyz(12.3692, 6.4207, 37.1394)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6022A7 #69A722
analogous
#2227A7 #6022A7 #A322A7
triadic
#6022A7 #A76022 #22A760
tetradic
#6022A7 #A72227 #69A722 #22A7A3
square
#6022A7 #A72227 #69A722 #22A7A3
split-complementary
#6022A7 #A7A322 #27A722
monochromatic
#260D41 #431874 #6022A7 #7E31D5 #9E64DF

Accessibility & contrast

On white

9.19
#6022A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6022A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6022A7
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6022A7#FFFFFF#000000##FFFFFF
##6022A71.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#4E4765
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6022a7;
/* rgb */ color: rgb(96, 34, 167);
/* oklch */ color: oklch(42.5% 0.195 298.7);
Tailwind
colors: {
  custom: {
    50: '#9465c2',
    500: '#6022a7',
    950: '#000000',
  },
}
SCSS
$custom: #6022a7;
$custom-light: #9465c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6022a7",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 267.97,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4247,
    "c": 0.19455,
    "h": 298.7
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#6022A7
secondary
#96C560
accent
#E93F9A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6022A7

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

Preview Lab → · Contrast checker → · Palette generator →

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