#60158A#60158A

#60158A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.178 H 309.0°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#60158A
RGBrgb(96, 21, 138)
HSLhsl(278, 74%, 31%)
HSVhsv(278, 85%, 54%)
CMYKcmyk(30.4%, 84.8%, 0%, 45.9%)
CIE-LABlab(26.33, 51.04, -48.61)
CIE-LCHlch(26.33, 70.49, 316.39°)
OKLaboklab(38.82% 0.1118 -0.1382)
OKLCHoklch(38.82% 0.178 309)
XYZxyz(9.6785, 4.8583, 24.4677)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60158A #3F8A15
analogous
#26158A #60158A #8A1579
triadic
#60158A #8A6015 #158A60
tetradic
#60158A #8A2615 #3F8A15 #15798A
square
#60158A #8A2615 #3F8A15 #15798A
split-complementary
#60158A #798A15 #158A26
monochromatic
#160520 #3B0D55 #60158A #851DBF #A439E1

Accessibility & contrast

On white

10.65
#60158A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#60158A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60158A
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60158A#FFFFFF#000000##FFFFFF
##60158A1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#593551
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #60158a;
/* rgb */ color: rgb(96, 21, 138);
/* oklch */ color: oklch(38.8% 0.178 309.0);
Tailwind
colors: {
  custom: {
    50: '#925ead',
    500: '#60158a',
    950: '#000000',
  },
}
SCSS
$custom: #60158a;
$custom-light: #925ead;
$custom-dark: #000000;
JSON
{
  "hex": "#60158a",
  "rgb": {
    "r": 96,
    "g": 21,
    "b": 138
  },
  "hsl": {
    "h": 278.462,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38824,
    "c": 0.17775,
    "h": 309
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#60158A
secondary
#6BBE3D
accent
#F0387A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #60158A

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

Preview Lab → · Contrast checker → · Palette generator →

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