#601171#601171

#601171 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.5% C 0.159 H 319.5°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#601171
RGBrgb(96, 17, 113)
HSLhsl(289, 74%, 25%)
HSVhsv(289, 85%, 44%)
CMYKcmyk(15%, 85%, 0%, 55.7%)
CIE-LABlab(23.94, 47.03, -36.65)
CIE-LCHlch(23.94, 59.63, 322.07°)
OKLaboklab(36.53% 0.1206 -0.103)
OKLCHoklch(36.53% 0.159 319.5)
XYZxyz(8.0046, 4.0804, 15.9855)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#601171 #227111
analogous
#301171 #601171 #711152
triadic
#601171 #716011 #117160
tetradic
#601171 #713011 #227111 #115271
square
#601171 #713011 #227111 #115271
split-complementary
#601171 #527111 #117130
monochromatic
#17041B #33093C #601171 #8D19A6 #BA21DB

Accessibility & contrast

On white

11.56
#601171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#601171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #601171
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##601171#FFFFFF#000000##FFFFFF
##6011711.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#1A3B6F
Tritanopia (blue-blind)
#602742
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #601171;
/* rgb */ color: rgb(96, 17, 113);
/* oklch */ color: oklch(36.5% 0.159 319.5);
Tailwind
colors: {
  custom: {
    50: '#915b9a',
    500: '#601171',
    950: '#000000',
  },
}
SCSS
$custom: #601171;
$custom-light: #915b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#601171",
  "rgb": {
    "r": 96,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 289.375,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36533,
    "c": 0.1586,
    "h": 319.5
  },
  "luminance": 0.0408
}

Semantic roles & 50–950 ramp

primary
#601171
secondary
#4AA836
accent
#F13758
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #601171

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

Preview Lab → · Contrast checker → · Palette generator →

#601171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva