#60178D#60178D

#60178D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.179 H 307.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#60178D
RGBrgb(96, 23, 141)
HSLhsl(277, 72%, 32%)
HSVhsv(277, 84%, 55%)
CMYKcmyk(31.9%, 83.7%, 0%, 44.7%)
CIE-LABlab(26.80, 51.06, -49.71)
CIE-LCHlch(26.80, 71.27, 315.77°)
OKLaboklab(39.23% 0.1095 -0.1414)
OKLCHoklch(39.23% 0.179 307.7)
XYZxyz(9.9370, 5.0228, 25.6402)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60178D #448D17
analogous
#25178D #60178D #8D177F
triadic
#60178D #8D6017 #178D60
tetradic
#60178D #8D2517 #448D17 #177F8D
square
#60178D #8D2517 #448D17 #177F8D
split-complementary
#60178D #7F8D17 #178D25
monochromatic
#180624 #3C0E58 #60178D #8420C2 #A23FE0

Accessibility & contrast

On white

10.48
#60178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #60178D
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60178D#FFFFFF#000000##FFFFFF
##60178D1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#583753
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #60178d;
/* rgb */ color: rgb(96, 23, 141);
/* oklch */ color: oklch(39.2% 0.179 307.7);
Tailwind
colors: {
  custom: {
    50: '#925faf',
    500: '#60178d',
    950: '#000000',
  },
}
SCSS
$custom: #60178d;
$custom-light: #925faf;
$custom-dark: #000000;
JSON
{
  "hex": "#60178d",
  "rgb": {
    "r": 96,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 277.119,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39232,
    "c": 0.17885,
    "h": 307.7
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#60178D
secondary
#71C040
accent
#EF397E
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #60178D

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

Preview Lab → · Contrast checker → · Palette generator →

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