#761D8B#761D8B

#761D8B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.179 H 319.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#761D8B
RGBrgb(118, 29, 139)
HSLhsl(289, 65%, 33%)
HSVhsv(289, 79%, 55%)
CMYKcmyk(15.1%, 79.1%, 0%, 45.5%)
CIE-LABlab(30.87, 52.73, -41.72)
CIE-LCHlch(30.87, 67.24, 321.65°)
OKLaboklab(42.75% 0.1347 -0.1172)
OKLCHoklch(42.75% 0.179 319)
XYZxyz(12.5702, 6.5950, 25.0319)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761D8B #328B1D
analogous
#3F1D8B #761D8B #8B1D69
triadic
#761D8B #8B761D #1D8B76
tetradic
#761D8B #8B3F1D #328B1D #1D698B
square
#761D8B #8B3F1D #328B1D #1D698B
split-complementary
#761D8B #698B1D #1D8B3F
monochromatic
#200826 #4B1258 #761D8B #A128BE #BE49D9

Accessibility & contrast

On white

9.06
#761D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#761D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761D8B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761D8B#FFFFFF#000000##FFFFFF
##761D8B1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#254B89
Tritanopia (blue-blind)
#763554
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #761d8b;
/* rgb */ color: rgb(118, 29, 139);
/* oklch */ color: oklch(42.7% 0.179 319.0);
Tailwind
colors: {
  custom: {
    50: '#a164ad',
    500: '#761d8b',
    950: '#000000',
  },
}
SCSS
$custom: #761d8b;
$custom-light: #a164ad;
$custom-dark: #000000;
JSON
{
  "hex": "#761d8b",
  "rgb": {
    "r": 118,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 288.545,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42748,
    "c": 0.17858,
    "h": 319
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#761D8B
secondary
#5EBB49
accent
#E83F60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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