#6020A6#6020A6

#6020A6 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.195 H 299.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6020A6
RGBrgb(96, 32, 166)
HSLhsl(269, 68%, 39%)
HSVhsv(269, 81%, 65%)
CMYKcmyk(42.2%, 80.7%, 0%, 34.9%)
CIE-LABlab(30.09, 53.70, -59.64)
CIE-LCHlch(30.09, 80.25, 312.00°)
OKLaboklab(42.19% 0.0951 -0.1707)
OKLCHoklch(42.19% 0.195 299.1)
XYZxyz(12.2216, 6.2728, 36.6359)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6020A6 #66A620
analogous
#2023A6 #6020A6 #A320A6
triadic
#6020A6 #A66020 #20A660
tetradic
#6020A6 #A62023 #66A620 #20A6A3
square
#6020A6 #A62023 #66A620 #20A6A3
split-complementary
#6020A6 #A6A320 #23A620
monochromatic
#250C3F #421673 #6020A6 #7E2DD6 #9D60E0

Accessibility & contrast

On white

9.31
#6020A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6020A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6020A6
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6020A6#FFFFFF#000000##FFFFFF
##6020A61.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6020a6;
/* rgb */ color: rgb(96, 32, 166);
/* oklch */ color: oklch(42.2% 0.195 299.1);
Tailwind
colors: {
  custom: {
    50: '#9464c1',
    500: '#6020a6',
    950: '#000000',
  },
}
SCSS
$custom: #6020a6;
$custom-light: #9464c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6020a6",
  "rgb": {
    "r": 96,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 268.657,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42193,
    "c": 0.19538,
    "h": 299.1
  },
  "luminance": 0.06273
}

Semantic roles & 50–950 ramp

primary
#6020A6
secondary
#93C55D
accent
#EB3D98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6020A6

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

Preview Lab → · Contrast checker → · Palette generator →

#6020A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva