#6020A8#6020A8

#6020A8 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.4% C 0.197 H 298.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#6020A8
RGBrgb(96, 32, 168)
HSLhsl(268, 68%, 39%)
HSVhsv(268, 81%, 66%)
CMYKcmyk(42.9%, 81%, 0%, 34.1%)
CIE-LABlab(30.27, 54.19, -60.55)
CIE-LCHlch(30.27, 81.26, 311.83°)
OKLaboklab(42.37% 0.0945 -0.1733)
OKLCHoklch(42.37% 0.197 298.6)
XYZxyz(12.4064, 6.3468, 37.6096)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6020A8 #68A820
analogous
#2024A8 #6020A8 #A420A8
triadic
#6020A8 #A86020 #20A860
tetradic
#6020A8 #A82024 #68A820 #20A8A4
square
#6020A8 #A82024 #68A820 #20A8A4
split-complementary
#6020A8 #A8A420 #24A820
monochromatic
#250C41 #431675 #6020A8 #7E2ED7 #9D61E1

Accessibility & contrast

On white

9.25
#6020A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6020A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6020A8
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6020A8#FFFFFF#000000##FFFFFF
##6020A81.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)
#0047AC
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#4E4665
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6020a8;
/* rgb */ color: rgb(96, 32, 168);
/* oklch */ color: oklch(42.4% 0.197 298.6);
Tailwind
colors: {
  custom: {
    50: '#9564c3',
    500: '#6020a8',
    950: '#000000',
  },
}
SCSS
$custom: #6020a8;
$custom-light: #9564c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6020a8",
  "rgb": {
    "r": 96,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 268.235,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42374,
    "c": 0.19742,
    "h": 298.6
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#6020A8
secondary
#95C65E
accent
#EB3D99
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6020A8

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

Preview Lab → · Contrast checker → · Palette generator →

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