#6020A7#6020A7

#6020A7 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.196 H 298.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#6020A7
RGBrgb(96, 32, 167)
HSLhsl(268, 68%, 39%)
HSVhsv(268, 81%, 65%)
CMYKcmyk(42.5%, 80.8%, 0%, 34.5%)
CIE-LABlab(30.18, 53.94, -60.10)
CIE-LCHlch(30.18, 80.76, 311.91°)
OKLaboklab(42.28% 0.0948 -0.172)
OKLCHoklch(42.28% 0.196 298.9)
XYZxyz(12.3136, 6.3097, 37.1209)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6020A7 #67A720
analogous
#2024A7 #6020A7 #A420A7
triadic
#6020A7 #A76020 #20A760
tetradic
#6020A7 #A72024 #67A720 #20A7A4
square
#6020A7 #A72024 #67A720 #20A7A4
split-complementary
#6020A7 #A7A420 #24A720
monochromatic
#250C40 #421674 #6020A7 #7E2DD7 #9D61E1

Accessibility & contrast

On white

9.28
#6020A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6020A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6020A7
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6020A7#FFFFFF#000000##FFFFFF
##6020A71.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#4E4664
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6020a7;
/* rgb */ color: rgb(96, 32, 167);
/* oklch */ color: oklch(42.3% 0.196 298.9);
Tailwind
colors: {
  custom: {
    50: '#9464c2',
    500: '#6020a7',
    950: '#000000',
  },
}
SCSS
$custom: #6020a7;
$custom-light: #9464c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6020a7",
  "rgb": {
    "r": 96,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 268.444,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42283,
    "c": 0.1964,
    "h": 298.9
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#6020A7
secondary
#94C55D
accent
#EB3D98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6020A7

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

Preview Lab → · Contrast checker → · Palette generator →

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