#761B7F#761B7F

#761B7F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.170 H 324.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#761B7F
RGBrgb(118, 27, 127)
HSLhsl(295, 65%, 30%)
HSVhsv(295, 79%, 50%)
CMYKcmyk(7.1%, 78.7%, 0%, 50.2%)
CIE-LABlab(29.83, 51.12, -35.88)
CIE-LCHlch(29.83, 62.46, 324.93°)
OKLaboklab(41.76% 0.1378 -0.1001)
OKLCHoklch(41.76% 0.17 324)
XYZxyz(11.6936, 6.1685, 20.6493)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761B7F #247F1B
analogous
#441B7F #761B7F #7F1B56
triadic
#761B7F #7F761B #1B7F76
tetradic
#761B7F #7F441B #247F1B #1B567F
square
#761B7F #7F441B #247F1B #1B567F
split-complementary
#761B7F #567F1B #1B7F44
monochromatic
#18061A #47104D #761B7F #A526B1 #C83ED6

Accessibility & contrast

On white

9.40
#761B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#761B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761B7F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761B7F#FFFFFF#000000##FFFFFF
##761B7F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #761b7f;
/* rgb */ color: rgb(118, 27, 127);
/* oklch */ color: oklch(41.8% 0.170 324.0);
Tailwind
colors: {
  custom: {
    50: '#a163a5',
    500: '#761b7f',
    950: '#000000',
  },
}
SCSS
$custom: #761b7f;
$custom-light: #a163a5;
$custom-dark: #000000;
JSON
{
  "hex": "#761b7f",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 294.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41759,
    "c": 0.1703,
    "h": 324
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#761B7F
secondary
#4DB343
accent
#E8404F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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