#74176E#74176E

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

Color values

HEX#74176E
RGBrgb(116, 23, 110)
HSLhsl(304, 67%, 27%)
HSVhsv(304, 80%, 45%)
CMYKcmyk(0%, 80.2%, 5.2%, 54.5%)
CIE-LABlab(27.99, 48.96, -28.04)
CIE-LCHlch(27.99, 56.42, 330.20°)
OKLaboklab(40.04% 0.1396 -0.0773)
OKLCHoklch(40.04% 0.16 331)
XYZxyz(10.3233, 5.4524, 15.2575)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74176E #17741D
analogous
#4C1774 #74176E #741740
triadic
#74176E #6E7417 #176E74
tetradic
#74176E #744C17 #17741D #174074
square
#74176E #744C17 #17741D #174074
split-complementary
#74176E #407417 #17744C
monochromatic
#1A0518 #410D3E #74176E #A7219E #D630CB

Accessibility & contrast

On white

10.05
#74176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74176E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74176E#FFFFFF#000000##FFFFFF
##74176E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3A70
Deuteranopia (green-blind)
#35466C
Tritanopia (blue-blind)
#792442
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #74176e;
/* rgb */ color: rgb(116, 23, 110);
/* oklch */ color: oklch(40.0% 0.160 331.0);
Tailwind
colors: {
  custom: {
    50: '#9f6098',
    500: '#74176e',
    950: '#000000',
  },
}
SCSS
$custom: #74176e;
$custom-light: #9f6098;
$custom-dark: #000000;
JSON
{
  "hex": "#74176e",
  "rgb": {
    "r": 116,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 303.871,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.40038,
    "c": 0.15958,
    "h": 331
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#74176E
secondary
#3DA944
accent
#EA493E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #74176E

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

Preview Lab → · Contrast checker → · Palette generator →

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