#761A7C#761A7C

#761A7C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.169 H 325.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#761A7C
RGBrgb(118, 26, 124)
HSLhsl(296, 65%, 29%)
HSVhsv(296, 79%, 49%)
CMYKcmyk(4.8%, 79%, 0%, 51.4%)
CIE-LABlab(29.53, 50.90, -34.48)
CIE-LCHlch(29.53, 61.48, 325.88°)
OKLaboklab(41.48% 0.1388 -0.096)
OKLCHoklch(41.48% 0.169 325.3)
XYZxyz(11.4784, 6.0463, 19.6274)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761A7C #207C1A
analogous
#451A7C #761A7C #7C1A51
triadic
#761A7C #7C761A #1A7C76
tetradic
#761A7C #7C451A #207C1A #1A517C
square
#761A7C #7C451A #207C1A #1A517C
split-complementary
#761A7C #517C1A #1A7C45
monochromatic
#180519 #460F49 #761A7C #A625AF #CC3BD6

Accessibility & contrast

On white

9.51
#761A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#761A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761A7C
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761A7C#FFFFFF#000000##FFFFFF
##761A7C1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#30497A
Tritanopia (blue-blind)
#792C4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #761a7c;
/* rgb */ color: rgb(118, 26, 124);
/* oklch */ color: oklch(41.5% 0.169 325.3);
Tailwind
colors: {
  custom: {
    50: '#a162a2',
    500: '#761a7c',
    950: '#000000',
  },
}
SCSS
$custom: #761a7c;
$custom-light: #a162a2;
$custom-dark: #000000;
JSON
{
  "hex": "#761a7c",
  "rgb": {
    "r": 118,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 296.327,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41481,
    "c": 0.16882,
    "h": 325.3
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#761A7C
secondary
#48B042
accent
#E8404A
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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