#761F7D#761F7D

#761F7D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.164 H 324.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#761F7D
RGBrgb(118, 31, 125)
HSLhsl(296, 60%, 31%)
HSVhsv(296, 75%, 49%)
CMYKcmyk(5.6%, 75.2%, 0%, 51%)
CIE-LABlab(30.19, 49.37, -34.06)
CIE-LCHlch(30.19, 59.98, 325.40°)
OKLaboklab(41.97% 0.1341 -0.0948)
OKLCHoklch(41.97% 0.164 324.7)
XYZxyz(11.6626, 6.3129, 20.0023)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761F7D #267D1F
analogous
#471F7D #761F7D #7D1F55
triadic
#761F7D #7D761F #1F7D76
tetradic
#761F7D #7D471F #267D1F #1F557D
square
#761F7D #7D471F #267D1F #1F557D
split-complementary
#761F7D #557D1F #1F7D47
monochromatic
#19071B #48134C #761F7D #A42BAE #C745D1

Accessibility & contrast

On white

9.28
#761F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#761F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761F7D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761F7D#FFFFFF#000000##FFFFFF
##761F7D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#792F4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #761f7d;
/* rgb */ color: rgb(118, 31, 125);
/* oklch */ color: oklch(42.0% 0.164 324.7);
Tailwind
colors: {
  custom: {
    50: '#a164a3',
    500: '#761f7d',
    950: '#000000',
  },
}
SCSS
$custom: #761f7d;
$custom-light: #a164a3;
$custom-dark: #000000;
JSON
{
  "hex": "#761f7d",
  "rgb": {
    "r": 118,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 295.532,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41972,
    "c": 0.16422,
    "h": 324.7
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#761F7D
secondary
#4FB048
accent
#E34450
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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