#761E7B#761E7B

#761E7B is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.164 H 325.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#761E7B
RGBrgb(118, 30, 123)
HSLhsl(297, 61%, 30%)
HSVhsv(297, 76%, 48%)
CMYKcmyk(4.1%, 75.6%, 0%, 51.8%)
CIE-LABlab(29.94, 49.36, -33.20)
CIE-LCHlch(29.94, 59.49, 326.08°)
OKLaboklab(41.75% 0.1351 -0.0923)
OKLCHoklch(41.75% 0.164 325.7)
XYZxyz(11.5104, 6.2109, 19.3276)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761E7B #237B1E
analogous
#471E7B #761E7B #7B1E52
triadic
#761E7B #7B761E #1E7B76
tetradic
#761E7B #7B471E #237B1E #1E527B
square
#761E7B #7B471E #237B1E #1E527B
split-complementary
#761E7B #527B1E #1E7B47
monochromatic
#180619 #47124A #761E7B #A52AAC #C942D1

Accessibility & contrast

On white

9.37
#761E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#761E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761E7B
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761E7B#FFFFFF#000000##FFFFFF
##761E7B1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02407E
Deuteranopia (green-blind)
#334A79
Tritanopia (blue-blind)
#792E4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #761e7b;
/* rgb */ color: rgb(118, 30, 123);
/* oklch */ color: oklch(41.8% 0.164 325.7);
Tailwind
colors: {
  custom: {
    50: '#a164a1',
    500: '#761e7b',
    950: '#000000',
  },
}
SCSS
$custom: #761e7b;
$custom-light: #a164a1;
$custom-dark: #000000;
JSON
{
  "hex": "#761e7b",
  "rgb": {
    "r": 118,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 296.774,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.41753,
    "c": 0.16366,
    "h": 325.7
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#761E7B
secondary
#4CAE46
accent
#E4444C
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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