#60178C#60178C

#60178C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.178 H 308.1°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#60178C
RGBrgb(96, 23, 140)
HSLhsl(277, 72%, 32%)
HSVhsv(277, 84%, 55%)
CMYKcmyk(31.4%, 83.6%, 0%, 45.1%)
CIE-LABlab(26.72, 50.84, -49.23)
CIE-LCHlch(26.72, 70.77, 315.92°)
OKLaboklab(39.15% 0.1097 -0.14)
OKLCHoklch(39.15% 0.178 308.1)
XYZxyz(9.8629, 4.9932, 25.2501)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60178C #438C17
analogous
#26178C #60178C #8C177E
triadic
#60178C #8C6017 #178C60
tetradic
#60178C #8C2617 #438C17 #177E8C
square
#60178C #8C2617 #438C17 #177E8C
split-complementary
#60178C #7E8C17 #178C26
monochromatic
#180623 #3C0E57 #60178C #8420C1 #A33EDF

Accessibility & contrast

On white

10.51
#60178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#60178C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60178C
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60178C#FFFFFF#000000##FFFFFF
##60178C1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#593653
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #60178c;
/* rgb */ color: rgb(96, 23, 140);
/* oklch */ color: oklch(39.1% 0.178 308.1);
Tailwind
colors: {
  custom: {
    50: '#925fae',
    500: '#60178c',
    950: '#000000',
  },
}
SCSS
$custom: #60178c;
$custom-light: #925fae;
$custom-dark: #000000;
JSON
{
  "hex": "#60178c",
  "rgb": {
    "r": 96,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 277.436,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39147,
    "c": 0.1779,
    "h": 308.1
  },
  "luminance": 0.04993
}

Semantic roles & 50–950 ramp

primary
#60178C
secondary
#70BF3F
accent
#EF397D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #60178C

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

Preview Lab → · Contrast checker → · Palette generator →

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