#6022A8#6022A8

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

Color values

HEX#6022A8
RGBrgb(96, 34, 168)
HSLhsl(268, 66%, 40%)
HSVhsv(268, 80%, 66%)
CMYKcmyk(42.9%, 79.8%, 0%, 34.1%)
CIE-LABlab(30.54, 53.41, -60.11)
CIE-LCHlch(30.54, 80.41, 311.62°)
OKLaboklab(42.56% 0.093 -0.1721)
OKLCHoklch(42.56% 0.196 298.4)
XYZxyz(12.4620, 6.4578, 37.6281)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6022A8 #6AA822
analogous
#2227A8 #6022A8 #A322A8
triadic
#6022A8 #A86022 #22A860
tetradic
#6022A8 #A82227 #6AA822 #22A8A3
square
#6022A8 #A82227 #6AA822 #22A8A3
split-complementary
#6022A8 #A8A322 #27A822
monochromatic
#260D42 #431875 #6022A8 #7D32D5 #9E65E0

Accessibility & contrast

On white

9.16
#6022A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6022A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6022A8
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6022A8#FFFFFF#000000##FFFFFF
##6022A81.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6022a8;
/* rgb */ color: rgb(96, 34, 168);
/* oklch */ color: oklch(42.6% 0.196 298.4);
Tailwind
colors: {
  custom: {
    50: '#9465c3',
    500: '#6022a8',
    950: '#000000',
  },
}
SCSS
$custom: #6022a8;
$custom-light: #9465c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6022a8",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 267.761,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4256,
    "c": 0.19558,
    "h": 298.4
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6022A8

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

Preview Lab → · Contrast checker → · Palette generator →

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