#60157F#60157F

#60157F is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.168 H 313.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#60157F
RGBrgb(96, 21, 127)
HSLhsl(282, 72%, 29%)
HSVhsv(282, 83%, 50%)
CMYKcmyk(24.4%, 83.5%, 0%, 50.2%)
CIE-LABlab(25.43, 48.66, -43.17)
CIE-LCHlch(25.43, 65.05, 318.42°)
OKLaboklab(37.92% 0.1146 -0.1222)
OKLCHoklch(37.92% 0.168 313.2)
XYZxyz(8.9221, 4.5557, 20.4839)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60157F #347F15
analogous
#2B157F #60157F #7F1569
triadic
#60157F #7F6015 #157F60
tetradic
#60157F #7F2B15 #347F15 #15697F
square
#60157F #7F2B15 #347F15 #15697F
split-complementary
#60157F #697F15 #157F2B
monochromatic
#14041A #380C4A #60157F #881EB4 #AB31DD

Accessibility & contrast

On white

10.99
#60157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#60157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60157F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60157F#FFFFFF#000000##FFFFFF
##60157F1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#033E7D
Tritanopia (blue-blind)
#5D304B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #60157f;
/* rgb */ color: rgb(96, 21, 127);
/* oklch */ color: oklch(37.9% 0.168 313.2);
Tailwind
colors: {
  custom: {
    50: '#915da5',
    500: '#60157f',
    950: '#000000',
  },
}
SCSS
$custom: #60157f;
$custom-light: #915da5;
$custom-dark: #000000;
JSON
{
  "hex": "#60157f",
  "rgb": {
    "r": 96,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 282.453,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37918,
    "c": 0.16755,
    "h": 313.2
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#60157F
secondary
#5FB43C
accent
#EE396E
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #60157F

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

Preview Lab → · Contrast checker → · Palette generator →

#60157F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva