#60178E#60178E

#60178E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.180 H 307.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#60178E
RGBrgb(96, 23, 142)
HSLhsl(277, 72%, 32%)
HSVhsv(277, 84%, 56%)
CMYKcmyk(32.4%, 83.8%, 0%, 44.3%)
CIE-LABlab(26.88, 51.29, -50.20)
CIE-LCHlch(26.88, 71.76, 315.62°)
OKLaboklab(39.32% 0.1092 -0.1429)
OKLCHoklch(39.32% 0.18 307.4)
XYZxyz(10.0117, 5.0527, 26.0338)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60178E #458E17
analogous
#25178E #60178E #8E1780
triadic
#60178E #8E6017 #178E60
tetradic
#60178E #8E2517 #458E17 #17808E
square
#60178E #8E2517 #458E17 #17808E
split-complementary
#60178E #808E17 #178E25
monochromatic
#190625 #3C0E59 #60178E #8420C3 #A23FE0

Accessibility & contrast

On white

10.44
#60178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#60178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60178E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60178E#FFFFFF#000000##FFFFFF
##60178E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#583754
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #60178e;
/* rgb */ color: rgb(96, 23, 142);
/* oklch */ color: oklch(39.3% 0.180 307.4);
Tailwind
colors: {
  custom: {
    50: '#925fb0',
    500: '#60178e',
    950: '#000000',
  },
}
SCSS
$custom: #60178e;
$custom-light: #925fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#60178e",
  "rgb": {
    "r": 96,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 276.807,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39317,
    "c": 0.1798,
    "h": 307.4
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#60178E
secondary
#72C040
accent
#EF397F
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #60178E

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

Preview Lab → · Contrast checker → · Palette generator →

#60178E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva