#761579#761579

#761579 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.171 H 326.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#761579
RGBrgb(118, 21, 121)
HSLhsl(298, 70%, 28%)
HSVhsv(298, 83%, 47%)
CMYKcmyk(2.5%, 82.6%, 0%, 52.5%)
CIE-LABlab(28.82, 51.86, -33.71)
CIE-LCHlch(28.82, 61.85, 326.97°)
OKLaboklab(40.92% 0.1432 -0.0938)
OKLCHoklch(40.92% 0.171 326.8)
XYZxyz(11.1904, 5.7692, 18.6096)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761579 #187915
analogous
#441579 #761579 #79154A
triadic
#761579 #797615 #157976
tetradic
#761579 #794415 #187915 #154A79
square
#761579 #794415 #187915 #154A79
split-complementary
#761579 #4A7915 #157944
monochromatic
#19051A #430C45 #761579 #A91EAD #D52EDB

Accessibility & contrast

On white

9.75
#761579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#761579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761579
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761579#FFFFFF#000000##FFFFFF
##7615791.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#304877
Tritanopia (blue-blind)
#792848
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #761579;
/* rgb */ color: rgb(118, 21, 121);
/* oklch */ color: oklch(40.9% 0.171 326.8);
Tailwind
colors: {
  custom: {
    50: '#a160a0',
    500: '#761579',
    950: '#000000',
  },
}
SCSS
$custom: #761579;
$custom-light: #a160a0;
$custom-dark: #000000;
JSON
{
  "hex": "#761579",
  "rgb": {
    "r": 118,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 298.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40919,
    "c": 0.17115,
    "h": 326.8
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#761579
secondary
#3FAF3B
accent
#ED3B40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #761579

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

Preview Lab → · Contrast checker → · Palette generator →

#761579 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva