#74176C#74176C

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

Color values

HEX#74176C
RGBrgb(116, 23, 108)
HSLhsl(305, 67%, 27%)
HSVhsv(305, 80%, 45%)
CMYKcmyk(0%, 80.2%, 6.9%, 54.5%)
CIE-LABlab(27.87, 48.63, -26.94)
CIE-LCHlch(27.87, 55.59, 331.02°)
OKLaboklab(39.92% 0.1396 -0.0742)
OKLCHoklch(39.92% 0.158 332)
XYZxyz(10.2157, 5.4094, 14.6905)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74176C #17741F
analogous
#4D1774 #74176C #74173E
triadic
#74176C #6C7417 #176C74
tetradic
#74176C #744D17 #17741F #173E74
square
#74176C #744D17 #17741F #173E74
split-complementary
#74176C #3E7417 #17744D
monochromatic
#1A0518 #410D3C #74176C #A7219C #D630C8

Accessibility & contrast

On white

10.09
#74176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74176C
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74176C#FFFFFF#000000##FFFFFF
##74176C1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3A6E
Deuteranopia (green-blind)
#36466A
Tritanopia (blue-blind)
#792341
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #74176c;
/* rgb */ color: rgb(116, 23, 108);
/* oklch */ color: oklch(39.9% 0.158 332.0);
Tailwind
colors: {
  custom: {
    50: '#9f6096',
    500: '#74176c',
    950: '#000000',
  },
}
SCSS
$custom: #74176c;
$custom-light: #9f6096;
$custom-dark: #000000;
JSON
{
  "hex": "#74176c",
  "rgb": {
    "r": 116,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 305.161,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39918,
    "c": 0.15803,
    "h": 332
  },
  "luminance": 0.05409
}

Semantic roles & 50–950 ramp

primary
#74176C
secondary
#3DA947
accent
#EA4D3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #74176C

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

Preview Lab → · Contrast checker → · Palette generator →

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