#60178F#60178F

#60178F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.181 H 307.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#60178F
RGBrgb(96, 23, 143)
HSLhsl(277, 72%, 33%)
HSVhsv(277, 84%, 56%)
CMYKcmyk(32.9%, 83.9%, 0%, 43.9%)
CIE-LABlab(26.97, 51.51, -50.68)
CIE-LCHlch(26.97, 72.26, 315.47°)
OKLaboklab(39.4% 0.1089 -0.1443)
OKLCHoklch(39.4% 0.181 307)
XYZxyz(10.0871, 5.0829, 26.4310)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60178F #468F17
analogous
#24178F #60178F #8F1782
triadic
#60178F #8F6017 #178F60
tetradic
#60178F #8F2417 #468F17 #17828F
square
#60178F #8F2417 #468F17 #17828F
split-complementary
#60178F #828F17 #178F24
monochromatic
#190626 #3D0F5A #60178F #831FC4 #A240E0

Accessibility & contrast

On white

10.41
#60178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#60178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60178F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60178F#FFFFFF#000000##FFFFFF
##60178F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#583855
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #60178f;
/* rgb */ color: rgb(96, 23, 143);
/* oklch */ color: oklch(39.4% 0.181 307.0);
Tailwind
colors: {
  custom: {
    50: '#925fb1',
    500: '#60178f',
    950: '#000000',
  },
}
SCSS
$custom: #60178f;
$custom-light: #925fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#60178f",
  "rgb": {
    "r": 96,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 276.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39402,
    "c": 0.18074,
    "h": 307
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#60178F
secondary
#73C141
accent
#EF3980
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #60178F

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

Preview Lab → · Contrast checker → · Palette generator →

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