#6017A1#6017A1

#6017A1 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.198 H 301.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#6017A1
RGBrgb(96, 23, 161)
HSLhsl(272, 75%, 36%)
HSVhsv(272, 86%, 63%)
CMYKcmyk(40.4%, 85.7%, 0%, 36.9%)
CIE-LABlab(28.57, 55.62, -59.10)
CIE-LCHlch(28.57, 81.16, 313.26°)
OKLaboklab(41% 0.103 -0.169)
OKLCHoklch(41% 0.198 301.4)
XYZxyz(11.5617, 5.6727, 34.1971)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6017A1 #58A117
analogous
#1B17A1 #6017A1 #A1179D
triadic
#6017A1 #A16017 #17A160
tetradic
#6017A1 #A11B17 #58A117 #179DA1
square
#6017A1 #A11B17 #58A117 #179DA1
split-complementary
#6017A1 #9DA117 #17A11B
monochromatic
#200836 #400F6B #6017A1 #801FD7 #9E4DE6

Accessibility & contrast

On white

9.84
#6017A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6017A1
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6017A1#FFFFFF#000000##FFFFFF
##6017A11.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#51405F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6017a1;
/* rgb */ color: rgb(96, 23, 161);
/* oklch */ color: oklch(41.0% 0.198 301.4);
Tailwind
colors: {
  custom: {
    50: '#9460be',
    500: '#6017a1',
    950: '#000000',
  },
}
SCSS
$custom: #6017a1;
$custom-light: #9460be;
$custom-dark: #000000;
JSON
{
  "hex": "#6017a1",
  "rgb": {
    "r": 96,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 271.739,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41003,
    "c": 0.1979,
    "h": 301.4
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#6017A1
secondary
#86C74C
accent
#F2368E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #6017A1

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

Preview Lab → · Contrast checker → · Palette generator →

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