#751172#751172

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

Color values

HEX#751172
RGBrgb(117, 17, 114)
HSLhsl(302, 75%, 26%)
HSVhsv(302, 85%, 46%)
CMYKcmyk(0%, 85.5%, 2.6%, 54.1%)
CIE-LABlab(27.84, 51.50, -30.83)
CIE-LCHlch(27.84, 60.02, 329.10°)
OKLaboklab(40.05% 0.1454 -0.0854)
OKLCHoklch(40.05% 0.169 329.6)
XYZxyz(10.5738, 5.3986, 16.4014)
Luminance0.0540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751172 #117514
analogous
#461175 #751172 #751140
triadic
#751172 #727511 #117275
tetradic
#751172 #754611 #117514 #114075
square
#751172 #754611 #117514 #114075
split-complementary
#751172 #407511 #117546
monochromatic
#1B041A #40093E #751172 #AA19A6 #DF22D9

Accessibility & contrast

On white

10.10
#751172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751172
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751172#FFFFFF#000000##FFFFFF
##7511721.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#324670
Tritanopia (blue-blind)
#792243
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #751172;
/* rgb */ color: rgb(117, 17, 114);
/* oklch */ color: oklch(40.0% 0.169 329.6);
Tailwind
colors: {
  custom: {
    50: '#a05f9b',
    500: '#751172',
    950: '#000000',
  },
}
SCSS
$custom: #751172;
$custom-light: #a05f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#751172",
  "rgb": {
    "r": 117,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 301.8,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.40047,
    "c": 0.16859,
    "h": 329.6
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#751172
secondary
#36AC39
accent
#F13C37
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #751172

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

Preview Lab → · Contrast checker → · Palette generator →

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