#60158C#60158C

#60158C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.180 H 308.3°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#60158C
RGBrgb(96, 21, 140)
HSLhsl(278, 74%, 32%)
HSVhsv(278, 85%, 55%)
CMYKcmyk(31.4%, 85%, 0%, 45.1%)
CIE-LABlab(26.50, 51.48, -49.59)
CIE-LCHlch(26.50, 71.48, 316.08°)
OKLaboklab(38.99% 0.1112 -0.141)
OKLCHoklch(38.99% 0.18 308.3)
XYZxyz(9.8247, 4.9167, 25.2373)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60158C #418C15
analogous
#25158C #60158C #8C157D
triadic
#60158C #8C6015 #158C60
tetradic
#60158C #8C2515 #418C15 #157D8C
square
#60158C #8C2515 #418C15 #157D8C
split-complementary
#60158C #7D8C15 #158C25
monochromatic
#170522 #3C0D57 #60158C #841DC1 #A43AE1

Accessibility & contrast

On white

10.59
#60158C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#60158C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60158C
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60158C#FFFFFF#000000##FFFFFF
##60158C1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#593653
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #60158c;
/* rgb */ color: rgb(96, 21, 140);
/* oklch */ color: oklch(39.0% 0.180 308.3);
Tailwind
colors: {
  custom: {
    50: '#925eae',
    500: '#60158c',
    950: '#000000',
  },
}
SCSS
$custom: #60158c;
$custom-light: #925eae;
$custom-dark: #000000;
JSON
{
  "hex": "#60158c",
  "rgb": {
    "r": 96,
    "g": 21,
    "b": 140
  },
  "hsl": {
    "h": 277.815,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38994,
    "c": 0.17961,
    "h": 308.3
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#60158C
secondary
#6DC03D
accent
#F1377C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #60158C

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

Preview Lab → · Contrast checker → · Palette generator →

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