#761F8A#761F8A

#761F8A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.176 H 319.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#761F8A
RGBrgb(118, 31, 138)
HSLhsl(289, 63%, 33%)
HSVhsv(289, 78%, 54%)
CMYKcmyk(14.5%, 77.5%, 0%, 45.9%)
CIE-LABlab(31.04, 51.85, -40.82)
CIE-LCHlch(31.04, 65.99, 321.79°)
OKLaboklab(42.85% 0.133 -0.1146)
OKLCHoklch(42.85% 0.176 319.3)
XYZxyz(12.5480, 6.6671, 24.6658)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761F8A #338A1F
analogous
#401F8A #761F8A #8A1F68
triadic
#761F8A #8A761F #1F8A76
tetradic
#761F8A #8A401F #338A1F #1F688A
square
#761F8A #8A401F #338A1F #1F688A
split-complementary
#761F8A #688A1F #1F8A40
monochromatic
#210926 #4B1458 #761F8A #A12ABC #BD4CD7

Accessibility & contrast

On white

9.00
#761F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#761F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761F8A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761F8A#FFFFFF#000000##FFFFFF
##761F8A1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#274C88
Tritanopia (blue-blind)
#763553
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #761f8a;
/* rgb */ color: rgb(118, 31, 138);
/* oklch */ color: oklch(42.8% 0.176 319.3);
Tailwind
colors: {
  custom: {
    50: '#a165ad',
    500: '#761f8a',
    950: '#000000',
  },
}
SCSS
$custom: #761f8a;
$custom-light: #a165ad;
$custom-dark: #000000;
JSON
{
  "hex": "#761f8a",
  "rgb": {
    "r": 118,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 288.785,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42846,
    "c": 0.17561,
    "h": 319.3
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#761F8A
secondary
#60BA4B
accent
#E64160
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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