#60127F#60127F

#60127F is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.7% C 0.170 H 313.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#60127F
RGBrgb(96, 18, 127)
HSLhsl(283, 75%, 28%)
HSVhsv(283, 86%, 50%)
CMYKcmyk(24.4%, 85.8%, 0%, 50.2%)
CIE-LABlab(25.11, 49.59, -43.68)
CIE-LCHlch(25.11, 66.08, 318.62°)
OKLaboklab(37.7% 0.1169 -0.1237)
OKLCHoklch(37.7% 0.17 313.4)
XYZxyz(8.8703, 4.4520, 20.4666)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60127F #317F12
analogous
#2A127F #60127F #7F1267
triadic
#60127F #7F6012 #127F60
tetradic
#60127F #7F2A12 #317F12 #12677F
square
#60127F #7F2A12 #317F12 #12677F
split-complementary
#60127F #677F12 #127F2A
monochromatic
#14041B #370A49 #60127F #891AB5 #AD2BE1

Accessibility & contrast

On white

11.11
#60127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#60127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60127F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60127F#FFFFFF#000000##FFFFFF
##60127F1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#5D2E4A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #60127f;
/* rgb */ color: rgb(96, 18, 127);
/* oklch */ color: oklch(37.7% 0.170 313.4);
Tailwind
colors: {
  custom: {
    50: '#915ca5',
    500: '#60127f',
    950: '#000000',
  },
}
SCSS
$custom: #60127f;
$custom-light: #915ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#60127f",
  "rgb": {
    "r": 96,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 282.936,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37696,
    "c": 0.17018,
    "h": 313.4
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#60127F
secondary
#5CB538
accent
#F2366B
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #60127F

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

Preview Lab → · Contrast checker → · Palette generator →

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