#761B7A#761B7A

#761B7A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.166 H 326.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#761B7A
RGBrgb(118, 27, 122)
HSLhsl(297, 64%, 29%)
HSVhsv(297, 78%, 48%)
CMYKcmyk(3.3%, 77.9%, 0%, 52.2%)
CIE-LABlab(29.52, 50.21, -33.24)
CIE-LCHlch(29.52, 60.22, 326.50°)
OKLaboklab(41.43% 0.138 -0.0924)
OKLCHoklch(41.43% 0.166 326.2)
XYZxyz(11.3758, 6.0413, 18.9755)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761B7A #1F7A1B
analogous
#471B7A #761B7A #7A1B4F
triadic
#761B7A #7A761B #1B7A76
tetradic
#761B7A #7A471B #1F7A1B #1B4F7A
square
#761B7A #7A471B #1F7A1B #1B4F7A
split-complementary
#761B7A #4F7A1B #1B7A47
monochromatic
#180619 #461048 #761B7A #A626AC #CD3CD4

Accessibility & contrast

On white

9.51
#761B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#761B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761B7A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761B7A#FFFFFF#000000##FFFFFF
##761B7A1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#324978
Tritanopia (blue-blind)
#792C4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #761b7a;
/* rgb */ color: rgb(118, 27, 122);
/* oklch */ color: oklch(41.4% 0.166 326.2);
Tailwind
colors: {
  custom: {
    50: '#a163a1',
    500: '#761b7a',
    950: '#000000',
  },
}
SCSS
$custom: #761b7a;
$custom-light: #a163a1;
$custom-dark: #000000;
JSON
{
  "hex": "#761b7a",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 297.474,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41432,
    "c": 0.16612,
    "h": 326.2
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#761B7A
secondary
#47AE43
accent
#E74148
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #761B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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