#761B7E#761B7E

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

Color values

HEX#761B7E
RGBrgb(118, 27, 126)
HSLhsl(295, 65%, 30%)
HSVhsv(295, 79%, 49%)
CMYKcmyk(6.3%, 78.6%, 0%, 50.6%)
CIE-LABlab(29.77, 50.94, -35.36)
CIE-LCHlch(29.77, 62.01, 325.23°)
OKLaboklab(41.69% 0.1378 -0.0986)
OKLCHoklch(41.69% 0.169 324.4)
XYZxyz(11.6287, 6.1425, 20.3077)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761B7E #237E1B
analogous
#451B7E #761B7E #7E1B54
triadic
#761B7E #7E761B #1B7E76
tetradic
#761B7E #7E451B #237E1B #1B547E
square
#761B7E #7E451B #237E1B #1B547E
split-complementary
#761B7E #547E1B #1B7E45
monochromatic
#180519 #47104C #761B7E #A526B0 #C93ED6

Accessibility & contrast

On white

9.42
#761B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #761B7E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761B7E#FFFFFF#000000##FFFFFF
##761B7E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #761b7e;
/* rgb */ color: rgb(118, 27, 126);
/* oklch */ color: oklch(41.7% 0.169 324.4);
Tailwind
colors: {
  custom: {
    50: '#a163a4',
    500: '#761b7e',
    950: '#000000',
  },
}
SCSS
$custom: #761b7e;
$custom-light: #a163a4;
$custom-dark: #000000;
JSON
{
  "hex": "#761b7e",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 295.152,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41693,
    "c": 0.16946,
    "h": 324.4
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#761B7E
secondary
#4CB243
accent
#E8404E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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