#761B78#761B78

#761B78 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.164 H 327.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#761B78
RGBrgb(118, 27, 120)
HSLhsl(299, 63%, 29%)
HSVhsv(299, 78%, 47%)
CMYKcmyk(1.7%, 77.5%, 0%, 52.9%)
CIE-LABlab(29.39, 49.86, -32.17)
CIE-LCHlch(29.39, 59.33, 327.17°)
OKLaboklab(41.3% 0.1381 -0.0893)
OKLCHoklch(41.3% 0.164 327.1)
XYZxyz(11.2531, 5.9923, 18.3296)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761B78 #1D781B
analogous
#481B78 #761B78 #781B4C
triadic
#761B78 #78761B #1B7876
tetradic
#761B78 #78481B #1D781B #1B4C78
square
#761B78 #78481B #1D781B #1B4C78
split-complementary
#761B78 #4C781B #1B7848
monochromatic
#190619 #451046 #761B78 #A726AA #D03BD3

Accessibility & contrast

On white

9.55
#761B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#761B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761B78
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761B78#FFFFFF#000000##FFFFFF
##761B781.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7B
Deuteranopia (green-blind)
#334976
Tritanopia (blue-blind)
#7A2B48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #761b78;
/* rgb */ color: rgb(118, 27, 120);
/* oklch */ color: oklch(41.3% 0.164 327.1);
Tailwind
colors: {
  custom: {
    50: '#a1639f',
    500: '#761b78',
    950: '#000000',
  },
}
SCSS
$custom: #761b78;
$custom-light: #a1639f;
$custom-dark: #000000;
JSON
{
  "hex": "#761b78",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 298.71,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41304,
    "c": 0.16446,
    "h": 327.1
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#761B78
secondary
#45AC43
accent
#E64145
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #761B78

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

Preview Lab → · Contrast checker → · Palette generator →

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