#761879#761879

#761879 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.168 H 326.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#761879
RGBrgb(118, 24, 121)
HSLhsl(298, 67%, 28%)
HSVhsv(298, 80%, 47%)
CMYKcmyk(2.5%, 80.2%, 0%, 52.5%)
CIE-LABlab(29.12, 50.99, -33.23)
CIE-LCHlch(29.12, 60.86, 326.91°)
OKLaboklab(41.13% 0.1407 -0.0924)
OKLCHoklch(41.13% 0.168 326.7)
XYZxyz(11.2488, 5.8861, 18.6291)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761879 #1B7918
analogous
#451879 #761879 #79184B
triadic
#761879 #797618 #187976
tetradic
#761879 #794518 #1B7918 #184B79
square
#761879 #794518 #1B7918 #184B79
split-complementary
#761879 #4B7918 #187945
monochromatic
#19051A #440E46 #761879 #A822AC #D235D7

Accessibility & contrast

On white

9.65
#761879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#761879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761879
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761879#FFFFFF#000000##FFFFFF
##7618791.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#314977
Tritanopia (blue-blind)
#792948
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #761879;
/* rgb */ color: rgb(118, 24, 121);
/* oklch */ color: oklch(41.1% 0.168 326.7);
Tailwind
colors: {
  custom: {
    50: '#a161a0',
    500: '#761879',
    950: '#000000',
  },
}
SCSS
$custom: #761879;
$custom-light: #a161a0;
$custom-dark: #000000;
JSON
{
  "hex": "#761879",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 298.144,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41132,
    "c": 0.16835,
    "h": 326.7
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#761879
secondary
#42AE3F
accent
#EA3E43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #761879

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

Preview Lab → · Contrast checker → · Palette generator →

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