#761F7F#761F7F

#761F7F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.166 H 323.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#761F7F
RGBrgb(118, 31, 127)
HSLhsl(294, 61%, 31%)
HSVhsv(294, 76%, 50%)
CMYKcmyk(7.1%, 75.6%, 0%, 50.2%)
CIE-LABlab(30.31, 49.74, -35.12)
CIE-LCHlch(30.31, 60.89, 324.78°)
OKLaboklab(42.1% 0.134 -0.0979)
OKLCHoklch(42.1% 0.166 323.8)
XYZxyz(11.7916, 6.3646, 20.6820)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761F7F #287F1F
analogous
#461F7F #761F7F #7F1F58
triadic
#761F7F #7F761F #1F7F76
tetradic
#761F7F #7F461F #287F1F #1F587F
square
#761F7F #7F461F #287F1F #1F587F
split-complementary
#761F7F #587F1F #1F7F46
monochromatic
#1B071D #48134E #761F7F #A42BB0 #C546D2

Accessibility & contrast

On white

9.24
#761F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#761F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761F7F
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761F7F#FFFFFF#000000##FFFFFF
##761F7F1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#78304D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #761f7f;
/* rgb */ color: rgb(118, 31, 127);
/* oklch */ color: oklch(42.1% 0.166 323.8);
Tailwind
colors: {
  custom: {
    50: '#a164a4',
    500: '#761f7f',
    950: '#000000',
  },
}
SCSS
$custom: #761f7f;
$custom-light: #a164a4;
$custom-dark: #000000;
JSON
{
  "hex": "#761f7f",
  "rgb": {
    "r": 118,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 294.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42101,
    "c": 0.16595,
    "h": 323.8
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#761F7F
secondary
#52B248
accent
#E44453
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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