#761D8A#761D8A

#761D8A is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.178 H 319.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#761D8A
RGBrgb(118, 29, 138)
HSLhsl(289, 65%, 33%)
HSVhsv(289, 79%, 54%)
CMYKcmyk(14.5%, 79%, 0%, 45.9%)
CIE-LABlab(30.80, 52.54, -41.21)
CIE-LCHlch(30.80, 66.77, 321.89°)
OKLaboklab(42.68% 0.1349 -0.1157)
OKLCHoklch(42.68% 0.178 319.4)
XYZxyz(12.4974, 6.5659, 24.6489)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761D8A #318A1D
analogous
#401D8A #761D8A #8A1D67
triadic
#761D8A #8A761D #1D8A76
tetradic
#761D8A #8A401D #318A1D #1D678A
square
#761D8A #8A401D #318A1D #1D678A
split-complementary
#761D8A #678A1D #1D8A40
monochromatic
#200825 #4B1257 #761D8A #A128BD #BE49D9

Accessibility & contrast

On white

9.08
#761D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#761D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761D8A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761D8A#FFFFFF#000000##FFFFFF
##761D8A1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#264B88
Tritanopia (blue-blind)
#763453
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #761d8a;
/* rgb */ color: rgb(118, 29, 138);
/* oklch */ color: oklch(42.7% 0.178 319.4);
Tailwind
colors: {
  custom: {
    50: '#a164ad',
    500: '#761d8a',
    950: '#000000',
  },
}
SCSS
$custom: #761d8a;
$custom-light: #a164ad;
$custom-dark: #000000;
JSON
{
  "hex": "#761d8a",
  "rgb": {
    "r": 118,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 288.991,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.1777,
    "h": 319.4
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#761D8A
secondary
#5DBB48
accent
#E8405F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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