#761172#761172

#761172 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.169 H 330.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#761172
RGBrgb(118, 17, 114)
HSLhsl(302, 75%, 26%)
HSVhsv(302, 86%, 46%)
CMYKcmyk(0%, 85.6%, 3.4%, 53.7%)
CIE-LABlab(28.03, 51.71, -30.52)
CIE-LCHlch(28.03, 60.05, 329.45°)
OKLaboklab(40.22% 0.1465 -0.0844)
OKLCHoklch(40.22% 0.169 330)
XYZxyz(10.7089, 5.4682, 16.4078)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761172 #117615
analogous
#481176 #761172 #761140
triadic
#761172 #727611 #117276
tetradic
#761172 #764811 #117615 #114076
square
#761172 #764811 #117615 #114076
split-complementary
#761172 #407611 #117648
monochromatic
#1B041A #41093E #761172 #AB19A6 #DF22D8

Accessibility & contrast

On white

10.03
#761172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #761172
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761172#FFFFFF#000000##FFFFFF
##7611721.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#334770
Tritanopia (blue-blind)
#7B2243
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #761172;
/* rgb */ color: rgb(118, 17, 114);
/* oklch */ color: oklch(40.2% 0.169 330.0);
Tailwind
colors: {
  custom: {
    50: '#a15f9b',
    500: '#761172',
    950: '#000000',
  },
}
SCSS
$custom: #761172;
$custom-light: #a15f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#761172",
  "rgb": {
    "r": 118,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 302.376,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.40216,
    "c": 0.16907,
    "h": 330
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#761172
secondary
#36AD3B
accent
#F13E36
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #761172

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

Preview Lab → · Contrast checker → · Palette generator →

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