#761F7E#761F7E

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

Color values

HEX#761F7E
RGBrgb(118, 31, 126)
HSLhsl(295, 61%, 31%)
HSVhsv(295, 75%, 49%)
CMYKcmyk(6.3%, 75.4%, 0%, 50.6%)
CIE-LABlab(30.25, 49.56, -34.59)
CIE-LCHlch(30.25, 60.43, 325.09°)
OKLaboklab(42.04% 0.134 -0.0964)
OKLCHoklch(42.04% 0.165 324.3)
XYZxyz(11.7268, 6.3386, 20.3404)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761F7E #277E1F
analogous
#461F7E #761F7E #7E1F56
triadic
#761F7E #7E761F #1F7E76
tetradic
#761F7E #7E461F #277E1F #1F567E
square
#761F7E #7E461F #277E1F #1F567E
split-complementary
#761F7E #567E1F #1F7E46
monochromatic
#1A071C #48134D #761F7E #A42BAF #C646D1

Accessibility & contrast

On white

9.26
#761F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#761F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761F7E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761F7E#FFFFFF#000000##FFFFFF
##761F7E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#78304D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #761f7e;
/* rgb */ color: rgb(118, 31, 126);
/* oklch */ color: oklch(42.0% 0.165 324.3);
Tailwind
colors: {
  custom: {
    50: '#a164a4',
    500: '#761f7e',
    950: '#000000',
  },
}
SCSS
$custom: #761f7e;
$custom-light: #a164a4;
$custom-dark: #000000;
JSON
{
  "hex": "#761f7e",
  "rgb": {
    "r": 118,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 294.947,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.16508,
    "h": 324.3
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#761F7E
secondary
#51B148
accent
#E44452
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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