#761B7C#761B7C

#761B7C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.168 H 325.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#761B7C
RGBrgb(118, 27, 124)
HSLhsl(296, 64%, 30%)
HSVhsv(296, 78%, 49%)
CMYKcmyk(4.8%, 78.2%, 0%, 51.4%)
CIE-LABlab(29.64, 50.57, -34.30)
CIE-LCHlch(29.64, 61.11, 325.85°)
OKLaboklab(41.56% 0.1379 -0.0955)
OKLCHoklch(41.56% 0.168 325.3)
XYZxyz(11.5010, 6.0914, 19.6349)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761B7C #217C1B
analogous
#461B7C #761B7C #7C1B51
triadic
#761B7C #7C761B #1B7C76
tetradic
#761B7C #7C461B #217C1B #1B517C
square
#761B7C #7C461B #217C1B #1B517C
split-complementary
#761B7C #517C1B #1B7C46
monochromatic
#180519 #46104A #761B7C #A626AE #CB3DD5

Accessibility & contrast

On white

9.47
#761B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#761B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761B7C
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761B7C#FFFFFF#000000##FFFFFF
##761B7C1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#304A7A
Tritanopia (blue-blind)
#792D4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #761b7c;
/* rgb */ color: rgb(118, 27, 124);
/* oklch */ color: oklch(41.6% 0.168 325.3);
Tailwind
colors: {
  custom: {
    50: '#a163a2',
    500: '#761b7c',
    950: '#000000',
  },
}
SCSS
$custom: #761b7c;
$custom-light: #a163a2;
$custom-dark: #000000;
JSON
{
  "hex": "#761b7c",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 296.289,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41562,
    "c": 0.16778,
    "h": 325.3
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#761B7C
secondary
#4AB043
accent
#E7414B
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761B7C

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

Preview Lab → · Contrast checker → · Palette generator →

#761B7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva