#761A7F#761A7F

#761A7F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.171 H 324.0°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#761A7F
RGBrgb(118, 26, 127)
HSLhsl(295, 66%, 30%)
HSVhsv(295, 80%, 50%)
CMYKcmyk(7.1%, 79.5%, 0%, 50.2%)
CIE-LABlab(29.72, 51.44, -36.06)
CIE-LCHlch(29.72, 62.82, 324.97°)
OKLaboklab(41.68% 0.1386 -0.1007)
OKLCHoklch(41.68% 0.171 324)
XYZxyz(11.6710, 6.1234, 20.6418)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761A7F #237F1A
analogous
#431A7F #761A7F #7F1A56
triadic
#761A7F #7F761A #1A7F76
tetradic
#761A7F #7F431A #237F1A #1A567F
square
#761A7F #7F431A #237F1A #1A567F
split-complementary
#761A7F #567F1A #1A7F43
monochromatic
#180519 #47104C #761A7F #A524B2 #C93CD7

Accessibility & contrast

On white

9.44
#761A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#761A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761A7F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761A7F#FFFFFF#000000##FFFFFF
##761A7F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#782D4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #761a7f;
/* rgb */ color: rgb(118, 26, 127);
/* oklch */ color: oklch(41.7% 0.171 324.0);
Tailwind
colors: {
  custom: {
    50: '#a162a5',
    500: '#761a7f',
    950: '#000000',
  },
}
SCSS
$custom: #761a7f;
$custom-light: #a162a5;
$custom-dark: #000000;
JSON
{
  "hex": "#761a7f",
  "rgb": {
    "r": 118,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 294.653,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.4168,
    "c": 0.17132,
    "h": 324
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

primary
#761A7F
secondary
#4CB342
accent
#E93F4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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