#761872#761872

#761872 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.163 H 330.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#761872
RGBrgb(118, 24, 114)
HSLhsl(303, 66%, 28%)
HSVhsv(303, 80%, 46%)
CMYKcmyk(0%, 79.7%, 3.4%, 53.7%)
CIE-LABlab(28.70, 49.78, -29.46)
CIE-LCHlch(28.70, 57.84, 329.39°)
OKLaboklab(40.69% 0.1409 -0.0814)
OKLCHoklch(40.69% 0.163 330)
XYZxyz(10.8351, 5.7206, 16.4498)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761872 #18761C
analogous
#4B1876 #761872 #761843
triadic
#761872 #727618 #187276
tetradic
#761872 #764B18 #18761C #184376
square
#761872 #764B18 #18761C #184376
split-complementary
#761872 #437618 #18764B
monochromatic
#190519 #430E41 #761872 #A922A3 #D533CF

Accessibility & contrast

On white

9.79
#761872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#761872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761872
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761872#FFFFFF#000000##FFFFFF
##7618721.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093C74
Deuteranopia (green-blind)
#354870
Tritanopia (blue-blind)
#7B2644
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #761872;
/* rgb */ color: rgb(118, 24, 114);
/* oklch */ color: oklch(40.7% 0.163 330.0);
Tailwind
colors: {
  custom: {
    50: '#a1619b',
    500: '#761872',
    950: '#000000',
  },
}
SCSS
$custom: #761872;
$custom-light: #a1619b;
$custom-dark: #000000;
JSON
{
  "hex": "#761872",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 302.553,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40691,
    "c": 0.16275,
    "h": 330
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#761872
secondary
#3FAB43
accent
#E9463F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #761872

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

Preview Lab → · Contrast checker → · Palette generator →

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