#761B7D#761B7D

#761B7D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.169 H 324.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#761B7D
RGBrgb(118, 27, 125)
HSLhsl(296, 64%, 30%)
HSVhsv(296, 78%, 49%)
CMYKcmyk(5.6%, 78.4%, 0%, 51%)
CIE-LABlab(29.71, 50.76, -34.83)
CIE-LCHlch(29.71, 61.56, 325.54°)
OKLaboklab(41.63% 0.1379 -0.0971)
OKLCHoklch(41.63% 0.169 324.9)
XYZxyz(11.5645, 6.1168, 19.9696)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761B7D #227D1B
analogous
#451B7D #761B7D #7D1B53
triadic
#761B7D #7D761B #1B7D76
tetradic
#761B7D #7D451B #227D1B #1B537D
square
#761B7D #7D451B #227D1B #1B537D
split-complementary
#761B7D #537D1B #1B7D45
monochromatic
#180519 #46104B #761B7D #A626AF #CA3DD5

Accessibility & contrast

On white

9.45
#761B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #761B7D
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761B7D#FFFFFF#000000##FFFFFF
##761B7D1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#792D4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #761b7d;
/* rgb */ color: rgb(118, 27, 125);
/* oklch */ color: oklch(41.6% 0.169 324.9);
Tailwind
colors: {
  custom: {
    50: '#a163a3',
    500: '#761b7d',
    950: '#000000',
  },
}
SCSS
$custom: #761b7d;
$custom-light: #a163a3;
$custom-dark: #000000;
JSON
{
  "hex": "#761b7d",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 295.714,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41627,
    "c": 0.16862,
    "h": 324.9
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#761B7D
secondary
#4BB143
accent
#E7404C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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