#601271#601271

#601271 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.6% C 0.158 H 319.4°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#601271
RGBrgb(96, 18, 113)
HSLhsl(289, 73%, 26%)
HSVhsv(289, 84%, 44%)
CMYKcmyk(15%, 84.1%, 0%, 55.7%)
CIE-LABlab(24.04, 46.73, -36.49)
CIE-LCHlch(24.04, 59.29, 322.02°)
OKLaboklab(36.6% 0.1198 -0.1026)
OKLCHoklch(36.6% 0.158 319.4)
XYZxyz(8.0204, 4.1121, 15.9908)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#601271 #237112
analogous
#301271 #601271 #711252
triadic
#601271 #716012 #127160
tetradic
#601271 #713012 #237112 #125271
square
#601271 #713012 #237112 #125271
split-complementary
#601271 #527112 #127130
monochromatic
#16041A #330A3C #601271 #8D1AA6 #BA23DB

Accessibility & contrast

On white

11.52
#601271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #601271
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##601271#FFFFFF#000000##FFFFFF
##6012711.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #601271;
/* rgb */ color: rgb(96, 18, 113);
/* oklch */ color: oklch(36.6% 0.158 319.4);
Tailwind
colors: {
  custom: {
    50: '#915b9a',
    500: '#601271',
    950: '#000000',
  },
}
SCSS
$custom: #601271;
$custom-light: #915b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#601271",
  "rgb": {
    "r": 96,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 289.263,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36605,
    "c": 0.1577,
    "h": 319.4
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#601271
secondary
#4BA837
accent
#EF3959
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #601271

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

Preview Lab → · Contrast checker → · Palette generator →

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