#74176F#74176F

#74176F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.160 H 330.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#74176F
RGBrgb(116, 23, 111)
HSLhsl(303, 67%, 27%)
HSVhsv(303, 80%, 45%)
CMYKcmyk(0%, 80.2%, 4.3%, 54.5%)
CIE-LABlab(28.05, 49.13, -28.59)
CIE-LCHlch(28.05, 56.84, 329.80°)
OKLaboklab(40.1% 0.1396 -0.0789)
OKLCHoklch(40.1% 0.16 330.5)
XYZxyz(10.3781, 5.4743, 15.5459)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74176F #17741C
analogous
#4B1774 #74176F #741740
triadic
#74176F #6F7417 #176F74
tetradic
#74176F #744B17 #17741C #174074
square
#74176F #744B17 #17741C #174074
split-complementary
#74176F #407417 #17744B
monochromatic
#1A0518 #410D3E #74176F #A721A0 #D630CD

Accessibility & contrast

On white

10.03
#74176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#74176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##74176F#FFFFFF#000000##FFFFFF
##74176F1.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)
#0A3A71
Deuteranopia (green-blind)
#35476D
Tritanopia (blue-blind)
#792442
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #74176f;
/* rgb */ color: rgb(116, 23, 111);
/* oklch */ color: oklch(40.1% 0.160 330.5);
Tailwind
colors: {
  custom: {
    50: '#9f6099',
    500: '#74176f',
    950: '#000000',
  },
}
SCSS
$custom: #74176f;
$custom-light: #9f6099;
$custom-dark: #000000;
JSON
{
  "hex": "#74176f",
  "rgb": {
    "r": 116,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 303.226,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.40099,
    "c": 0.16036,
    "h": 330.5
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#74176F
secondary
#3DA943
accent
#EA473E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #74176F

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

Preview Lab → · Contrast checker → · Palette generator →

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