#74176B#74176B

#74176B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.157 H 332.5°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#74176B
RGBrgb(116, 23, 107)
HSLhsl(306, 67%, 27%)
HSVhsv(306, 80%, 45%)
CMYKcmyk(0%, 80.2%, 7.8%, 54.5%)
CIE-LABlab(27.81, 48.47, -26.39)
CIE-LCHlch(27.81, 55.18, 331.44°)
OKLaboklab(39.86% 0.1395 -0.0726)
OKLCHoklch(39.86% 0.157 332.5)
XYZxyz(10.1627, 5.3882, 14.4118)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74176B #177420
analogous
#4E1774 #74176B #74173D
triadic
#74176B #6B7417 #176B74
tetradic
#74176B #744E17 #177420 #173D74
square
#74176B #744E17 #177420 #173D74
split-complementary
#74176B #3D7417 #17744E
monochromatic
#1A0518 #410D3C #74176B #A7219A #D630C6

Accessibility & contrast

On white

10.11
#74176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#74176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74176B
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74176B#FFFFFF#000000##FFFFFF
##74176B1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11396D
Deuteranopia (green-blind)
#374669
Tritanopia (blue-blind)
#792240
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #74176b;
/* rgb */ color: rgb(116, 23, 107);
/* oklch */ color: oklch(39.9% 0.157 332.5);
Tailwind
colors: {
  custom: {
    50: '#9f6095',
    500: '#74176b',
    950: '#000000',
  },
}
SCSS
$custom: #74176b;
$custom-light: #9f6095;
$custom-dark: #000000;
JSON
{
  "hex": "#74176b",
  "rgb": {
    "r": 116,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 305.806,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39858,
    "c": 0.15726,
    "h": 332.5
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#74176B
secondary
#3DA948
accent
#EA4F3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #74176B

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

Preview Lab → · Contrast checker → · Palette generator →

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