#6017A0#6017A0

#6017A0 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.9% C 0.197 H 301.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#6017A0
RGBrgb(96, 23, 160)
HSLhsl(272, 75%, 36%)
HSVhsv(272, 86%, 63%)
CMYKcmyk(40%, 85.6%, 0%, 37.3%)
CIE-LABlab(28.48, 55.39, -58.64)
CIE-LCHlch(28.48, 80.67, 313.37°)
OKLaboklab(40.91% 0.1033 -0.1677)
OKLCHoklch(40.91% 0.197 301.6)
XYZxyz(11.4739, 5.6376, 33.7346)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6017A0 #57A017
analogous
#1C17A0 #6017A0 #A0179B
triadic
#6017A0 #A06017 #17A060
tetradic
#6017A0 #A01C17 #57A017 #179BA0
square
#6017A0 #A01C17 #57A017 #179BA0
split-complementary
#6017A0 #9BA017 #17A01C
monochromatic
#200835 #400F6A #6017A0 #801FD6 #9E4CE5

Accessibility & contrast

On white

9.87
#6017A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6017A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6017A0
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6017A0#FFFFFF#000000##FFFFFF
##6017A01.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#52405F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6017a0;
/* rgb */ color: rgb(96, 23, 160);
/* oklch */ color: oklch(40.9% 0.197 301.6);
Tailwind
colors: {
  custom: {
    50: '#9460bd',
    500: '#6017a0',
    950: '#000000',
  },
}
SCSS
$custom: #6017a0;
$custom-light: #9460bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6017a0",
  "rgb": {
    "r": 96,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 271.971,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40911,
    "c": 0.19694,
    "h": 301.6
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#6017A0
secondary
#85C74C
accent
#F1368E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #6017A0

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

Preview Lab → · Contrast checker → · Palette generator →

#6017A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva