#60128E#60128E

#60128E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.184 H 307.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#60128E
RGBrgb(96, 18, 142)
HSLhsl(278, 78%, 31%)
HSVhsv(278, 87%, 56%)
CMYKcmyk(32.4%, 87.3%, 0%, 44.3%)
CIE-LABlab(26.37, 52.80, -51.04)
CIE-LCHlch(26.37, 73.43, 315.97°)
OKLaboklab(38.96% 0.1126 -0.1453)
OKLCHoklch(38.96% 0.184 307.8)
XYZxyz(9.9216, 4.8726, 26.0038)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60128E #408E12
analogous
#22128E #60128E #8E127E
triadic
#60128E #8E6012 #128E60
tetradic
#60128E #8E2212 #408E12 #127E8E
square
#60128E #8E2212 #408E12 #127E8E
split-complementary
#60128E #7E8E12 #128E22
monochromatic
#170421 #3B0B58 #60128E #8519C4 #A435E5

Accessibility & contrast

On white

10.64
#60128E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#60128E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60128E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60128E#FFFFFF#000000##FFFFFF
##60128E1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#583653
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #60128e;
/* rgb */ color: rgb(96, 18, 142);
/* oklch */ color: oklch(39.0% 0.184 307.8);
Tailwind
colors: {
  custom: {
    50: '#935db0',
    500: '#60128e',
    950: '#000000',
  },
}
SCSS
$custom: #60128e;
$custom-light: #935db0;
$custom-dark: #000000;
JSON
{
  "hex": "#60128e",
  "rgb": {
    "r": 96,
    "g": 18,
    "b": 142
  },
  "hsl": {
    "h": 277.742,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38959,
    "c": 0.18379,
    "h": 307.8
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#60128E
secondary
#6CC23A
accent
#F4347B
background
#F9F5FA
surface
#F2E9F5
border
#CCC5CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #60128E

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

Preview Lab → · Contrast checker → · Palette generator →

#60128E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva