#6022A5#6022A5

#6022A5 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.192 H 299.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#6022A5
RGBrgb(96, 34, 165)
HSLhsl(268, 66%, 39%)
HSVhsv(268, 79%, 65%)
CMYKcmyk(41.8%, 79.4%, 0%, 35.3%)
CIE-LABlab(30.27, 52.67, -58.74)
CIE-LCHlch(30.27, 78.89, 311.88°)
OKLaboklab(42.29% 0.0939 -0.168)
OKLCHoklch(42.29% 0.192 299.2)
XYZxyz(12.1857, 6.3473, 36.1732)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6022A5 #67A522
analogous
#2226A5 #6022A5 #A222A5
triadic
#6022A5 #A56022 #22A560
tetradic
#6022A5 #A52226 #67A522 #22A5A2
square
#6022A5 #A52226 #67A522 #22A5A2
split-complementary
#6022A5 #A5A222 #26A522
monochromatic
#250D40 #421872 #6022A5 #7E30D4 #9D63DF

Accessibility & contrast

On white

9.25
#6022A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6022A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6022A5
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6022A5#FFFFFF#000000##FFFFFF
##6022A51.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#4F4663
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6022a5;
/* rgb */ color: rgb(96, 34, 165);
/* oklch */ color: oklch(42.3% 0.192 299.2);
Tailwind
colors: {
  custom: {
    50: '#9465c1',
    500: '#6022a5',
    950: '#000000',
  },
}
SCSS
$custom: #6022a5;
$custom-light: #9465c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6022a5",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 268.397,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42292,
    "c": 0.19248,
    "h": 299.2
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#6022A5
secondary
#94C45F
accent
#E93F98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6022A5

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

Preview Lab → · Contrast checker → · Palette generator →

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