#751171#751171

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

Color values

HEX#751171
RGBrgb(117, 17, 113)
HSLhsl(302, 75%, 26%)
HSVhsv(302, 85%, 46%)
CMYKcmyk(0%, 85.5%, 3.4%, 54.1%)
CIE-LABlab(27.78, 51.34, -30.28)
CIE-LCHlch(27.78, 59.60, 329.46°)
OKLaboklab(39.98% 0.1454 -0.0838)
OKLCHoklch(39.98% 0.168 330)
XYZxyz(10.5172, 5.3759, 16.1033)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751171 #117515
analogous
#471175 #751171 #75113F
triadic
#751171 #717511 #117175
tetradic
#751171 #754711 #117515 #113F75
square
#751171 #754711 #117515 #113F75
split-complementary
#751171 #3F7511 #117547
monochromatic
#1B041A #40093D #751171 #AA19A5 #DF22D7

Accessibility & contrast

On white

10.12
#751171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#751171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751171
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751171#FFFFFF#000000##FFFFFF
##7511711.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #751171;
/* rgb */ color: rgb(117, 17, 113);
/* oklch */ color: oklch(40.0% 0.168 330.0);
Tailwind
colors: {
  custom: {
    50: '#a05f9a',
    500: '#751171',
    950: '#000000',
  },
}
SCSS
$custom: #751171;
$custom-light: #a05f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#751171",
  "rgb": {
    "r": 117,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 302.4,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39984,
    "c": 0.16783,
    "h": 330
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#751171
secondary
#36AC3B
accent
#F13E37
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #751171

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

Preview Lab → · Contrast checker → · Palette generator →

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