#761F8B#761F8B

#761F8B is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.176 H 318.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#761F8B
RGBrgb(118, 31, 139)
HSLhsl(288, 64%, 33%)
HSVhsv(288, 78%, 55%)
CMYKcmyk(15.1%, 77.7%, 0%, 45.5%)
CIE-LABlab(31.11, 52.05, -41.33)
CIE-LCHlch(31.11, 66.46, 321.55°)
OKLaboklab(42.92% 0.1329 -0.1161)
OKLCHoklch(42.92% 0.176 318.9)
XYZxyz(12.6208, 6.6962, 25.0488)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761F8B #348B1F
analogous
#401F8B #761F8B #8B1F6A
triadic
#761F8B #8B761F #1F8B76
tetradic
#761F8B #8B401F #348B1F #1F6A8B
square
#761F8B #8B401F #348B1F #1F6A8B
split-complementary
#761F8B #6A8B1F #1F8B40
monochromatic
#210927 #4C1459 #761F8B #A02ABD #BC4DD7

Accessibility & contrast

On white

8.98
#761F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#761F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761F8B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761F8B#FFFFFF#000000##FFFFFF
##761F8B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#264C89
Tritanopia (blue-blind)
#763654
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #761f8b;
/* rgb */ color: rgb(118, 31, 139);
/* oklch */ color: oklch(42.9% 0.176 318.9);
Tailwind
colors: {
  custom: {
    50: '#a165ad',
    500: '#761f8b',
    950: '#000000',
  },
}
SCSS
$custom: #761f8b;
$custom-light: #a165ad;
$custom-dark: #000000;
JSON
{
  "hex": "#761f8b",
  "rgb": {
    "r": 118,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 288.333,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42916,
    "c": 0.17649,
    "h": 318.9
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#761F8B
secondary
#61BA4C
accent
#E74161
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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