#761C7E#761C7E

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

Color values

HEX#761C7E
RGBrgb(118, 28, 126)
HSLhsl(295, 64%, 30%)
HSVhsv(295, 78%, 49%)
CMYKcmyk(6.3%, 77.8%, 0%, 50.6%)
CIE-LABlab(29.88, 50.61, -35.17)
CIE-LCHlch(29.88, 61.63, 325.20°)
OKLaboklab(41.78% 0.1369 -0.0981)
OKLCHoklch(41.78% 0.168 324.4)
XYZxyz(11.6521, 6.1892, 20.3155)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761C7E #247E1C
analogous
#451C7E #761C7E #7E1C55
triadic
#761C7E #7E761C #1C7E76
tetradic
#761C7E #7E451C #247E1C #1C557E
square
#761C7E #7E451C #247E1C #1C557E
split-complementary
#761C7E #557E1C #1C7E45
monochromatic
#18061A #47114C #761C7E #A527B0 #C840D5

Accessibility & contrast

On white

9.39
#761C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #761C7E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761C7E#FFFFFF#000000##FFFFFF
##761C7E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#782E4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #761c7e;
/* rgb */ color: rgb(118, 28, 126);
/* oklch */ color: oklch(41.8% 0.168 324.4);
Tailwind
colors: {
  custom: {
    50: '#a163a4',
    500: '#761c7e',
    950: '#000000',
  },
}
SCSS
$custom: #761c7e;
$custom-light: #a163a4;
$custom-dark: #000000;
JSON
{
  "hex": "#761c7e",
  "rgb": {
    "r": 118,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 295.102,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41775,
    "c": 0.1684,
    "h": 324.4
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#761C7E
secondary
#4DB244
accent
#E7414F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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