#761972#761972

#761972 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.162 H 330.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#761972
RGBrgb(118, 25, 114)
HSLhsl(303, 65%, 28%)
HSVhsv(303, 79%, 46%)
CMYKcmyk(0%, 78.8%, 3.4%, 53.7%)
CIE-LABlab(28.81, 49.47, -29.28)
CIE-LCHlch(28.81, 57.49, 329.38°)
OKLaboklab(40.77% 0.14 -0.0809)
OKLCHoklch(40.77% 0.162 330)
XYZxyz(10.8561, 5.7626, 16.4568)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761972 #19761D
analogous
#4B1976 #761972 #761943
triadic
#761972 #727619 #197276
tetradic
#761972 #764B19 #19761D #194376
square
#761972 #764B19 #19761D #194376
split-complementary
#761972 #437619 #19764B
monochromatic
#190518 #430E41 #761972 #A824A3 #D435CD

Accessibility & contrast

On white

9.76
#761972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #761972
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761972#FFFFFF#000000##FFFFFF
##7619721.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3C74
Deuteranopia (green-blind)
#364870
Tritanopia (blue-blind)
#7B2645
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #761972;
/* rgb */ color: rgb(118, 25, 114);
/* oklch */ color: oklch(40.8% 0.162 330.0);
Tailwind
colors: {
  custom: {
    50: '#a1619b',
    500: '#761972',
    950: '#000000',
  },
}
SCSS
$custom: #761972;
$custom-light: #a1619b;
$custom-dark: #000000;
JSON
{
  "hex": "#761972",
  "rgb": {
    "r": 118,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 302.581,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40768,
    "c": 0.16173,
    "h": 330
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#761972
secondary
#40AB45
accent
#E84740
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #761972

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

Preview Lab → · Contrast checker → · Palette generator →

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