#761C81#761C81

#761C81 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.171 H 323.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#761C81
RGBrgb(118, 28, 129)
HSLhsl(293, 64%, 31%)
HSVhsv(293, 78%, 51%)
CMYKcmyk(8.5%, 78.3%, 0%, 49.4%)
CIE-LABlab(30.08, 51.16, -36.75)
CIE-LCHlch(30.08, 62.99, 324.31°)
OKLaboklab(41.98% 0.1367 -0.1027)
OKLCHoklch(41.98% 0.171 323.1)
XYZxyz(11.8485, 6.2678, 21.3503)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761C81 #27811C
analogous
#431C81 #761C81 #811C59
triadic
#761C81 #81761C #1C8176
tetradic
#761C81 #81431C #27811C #1C5981
square
#761C81 #81431C #27811C #1C5981
split-complementary
#761C81 #59811C #1C8143
monochromatic
#1A061C #48114F #761C81 #A427B3 #C642D6

Accessibility & contrast

On white

9.32
#761C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#761C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761C81
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761C81#FFFFFF#000000##FFFFFF
##761C811.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#2D4A7F
Tritanopia (blue-blind)
#78304E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #761c81;
/* rgb */ color: rgb(118, 28, 129);
/* oklch */ color: oklch(42.0% 0.171 323.1);
Tailwind
colors: {
  custom: {
    50: '#a163a6',
    500: '#761c81',
    950: '#000000',
  },
}
SCSS
$custom: #761c81;
$custom-light: #a163a6;
$custom-dark: #000000;
JSON
{
  "hex": "#761c81",
  "rgb": {
    "r": 118,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 293.465,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41975,
    "c": 0.17095,
    "h": 323.1
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#761C81
secondary
#51B444
accent
#E74053
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761C81

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

Preview Lab → · Contrast checker → · Palette generator →

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