#761B8A#761B8A

#761B8A is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.180 H 319.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#761B8A
RGBrgb(118, 27, 138)
HSLhsl(289, 67%, 32%)
HSVhsv(289, 80%, 54%)
CMYKcmyk(14.5%, 80.4%, 0%, 45.9%)
CIE-LABlab(30.57, 53.19, -41.57)
CIE-LCHlch(30.57, 67.51, 321.99°)
OKLaboklab(42.52% 0.1366 -0.1168)
OKLCHoklch(42.52% 0.18 319.5)
XYZxyz(12.4500, 6.4710, 24.6331)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761B8A #2F8A1B
analogous
#3E1B8A #761B8A #8A1B67
triadic
#761B8A #8A761B #1B8A76
tetradic
#761B8A #8A3E1B #2F8A1B #1B678A
square
#761B8A #8A3E1B #2F8A1B #1B678A
split-complementary
#761B8A #678A1B #1B8A3E
monochromatic
#1E0724 #4A1157 #761B8A #A225BD #C045DB

Accessibility & contrast

On white

9.15
#761B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#761B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761B8A
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761B8A#FFFFFF#000000##FFFFFF
##761B8A1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#244B88
Tritanopia (blue-blind)
#763353
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #761b8a;
/* rgb */ color: rgb(118, 27, 138);
/* oklch */ color: oklch(42.5% 0.180 319.5);
Tailwind
colors: {
  custom: {
    50: '#a163ad',
    500: '#761b8a',
    950: '#000000',
  },
}
SCSS
$custom: #761b8a;
$custom-light: #a163ad;
$custom-dark: #000000;
JSON
{
  "hex": "#761b8a",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 289.189,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42517,
    "c": 0.17969,
    "h": 319.5
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#761B8A
secondary
#5ABC45
accent
#EA3E5D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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