#74179F#74179F

#74179F is a dark, highly saturated purple. Relative luminance 0.068; OKLCH L 43.5% C 0.201 H 311.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#74179F
RGBrgb(116, 23, 159)
HSLhsl(281, 75%, 36%)
HSVhsv(281, 86%, 62%)
CMYKcmyk(27%, 85.5%, 0%, 37.6%)
CIE-LABlab(31.42, 58.20, -53.12)
CIE-LCHlch(31.42, 78.79, 317.62°)
OKLaboklab(43.54% 0.1325 -0.1507)
OKLCHoklch(43.54% 0.201 311.3)
XYZxyz(13.7657, 6.8294, 33.3872)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74179F #429F17
analogous
#30179F #74179F #9F1786
triadic
#74179F #9F7417 #179F74
tetradic
#74179F #9F3017 #429F17 #17869F
square
#74179F #9F3017 #429F17 #17869F
split-complementary
#74179F #869F17 #179F30
monochromatic
#260834 #4D0F6A #74179F #9B1FD4 #B44BE5

Accessibility & contrast

On white

8.88
#74179F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#74179F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74179F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74179F#FFFFFF#000000##FFFFFF
##74179F1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#6E3C5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74179f;
/* rgb */ color: rgb(116, 23, 159);
/* oklch */ color: oklch(43.5% 0.201 311.3);
Tailwind
colors: {
  custom: {
    50: '#a163bc',
    500: '#74179f',
    950: '#000000',
  },
}
SCSS
$custom: #74179f;
$custom-light: #a163bc;
$custom-dark: #000000;
JSON
{
  "hex": "#74179f",
  "rgb": {
    "r": 116,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 281.029,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43538,
    "c": 0.20068,
    "h": 311.3
  },
  "luminance": 0.06829
}

Semantic roles & 50–950 ramp

primary
#74179F
secondary
#72C74B
accent
#F13672
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #74179F

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

Preview Lab → · Contrast checker → · Palette generator →

#74179F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva