#60178A#60178A

#60178A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.176 H 308.8°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#60178A
RGBrgb(96, 23, 138)
HSLhsl(278, 71%, 32%)
HSVhsv(278, 83%, 54%)
CMYKcmyk(30.4%, 83.3%, 0%, 45.9%)
CIE-LABlab(26.55, 50.40, -48.26)
CIE-LCHlch(26.55, 69.77, 316.24°)
OKLaboklab(38.98% 0.1103 -0.1372)
OKLCHoklch(38.98% 0.176 308.8)
XYZxyz(9.7168, 4.9347, 24.4805)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60178A #418A17
analogous
#27178A #60178A #8A177B
triadic
#60178A #8A6017 #178A60
tetradic
#60178A #8A2717 #418A17 #177B8A
square
#60178A #8A2717 #418A17 #177B8A
split-complementary
#60178A #7B8A17 #178A27
monochromatic
#170621 #3C0E56 #60178A #8420BE #A43DDF

Accessibility & contrast

On white

10.57
#60178A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#60178A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60178A
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60178A#FFFFFF#000000##FFFFFF
##60178A1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#593652
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #60178a;
/* rgb */ color: rgb(96, 23, 138);
/* oklch */ color: oklch(39.0% 0.176 308.8);
Tailwind
colors: {
  custom: {
    50: '#925fad',
    500: '#60178a',
    950: '#000000',
  },
}
SCSS
$custom: #60178a;
$custom-light: #925fad;
$custom-dark: #000000;
JSON
{
  "hex": "#60178a",
  "rgb": {
    "r": 96,
    "g": 23,
    "b": 138
  },
  "hsl": {
    "h": 278.087,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38978,
    "c": 0.176,
    "h": 308.8
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#60178A
secondary
#6DBE3F
accent
#EE3A7C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #60178A

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

Preview Lab → · Contrast checker → · Palette generator →

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