#761171#761171

#761171 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.168 H 330.5°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#761171
RGBrgb(118, 17, 113)
HSLhsl(303, 75%, 26%)
HSVhsv(303, 86%, 46%)
CMYKcmyk(0%, 85.6%, 4.2%, 53.7%)
CIE-LABlab(27.97, 51.55, -29.97)
CIE-LCHlch(27.97, 59.63, 329.82°)
OKLaboklab(40.15% 0.1465 -0.0829)
OKLCHoklch(40.15% 0.168 330.5)
XYZxyz(10.6523, 5.4456, 16.1097)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761171 #117616
analogous
#491176 #761171 #76113F
triadic
#761171 #717611 #117176
tetradic
#761171 #764911 #117616 #113F76
square
#761171 #764911 #117616 #113F76
split-complementary
#761171 #3F7611 #117649
monochromatic
#1B041A #41093E #761171 #AB19A4 #DF22D6

Accessibility & contrast

On white

10.05
#761171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#761171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761171
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761171#FFFFFF#000000##FFFFFF
##7611711.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#34476F
Tritanopia (blue-blind)
#7B2142
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #761171;
/* rgb */ color: rgb(118, 17, 113);
/* oklch */ color: oklch(40.2% 0.168 330.5);
Tailwind
colors: {
  custom: {
    50: '#a15f9a',
    500: '#761171',
    950: '#000000',
  },
}
SCSS
$custom: #761171;
$custom-light: #a15f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#761171",
  "rgb": {
    "r": 118,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 302.97,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.40153,
    "c": 0.16831,
    "h": 330.5
  },
  "luminance": 0.05445
}

Semantic roles & 50–950 ramp

primary
#761171
secondary
#36AD3C
accent
#F14036
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #761171

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

Preview Lab → · Contrast checker → · Palette generator →

#761171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva