#74176A#74176A

#74176A is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.156 H 333.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#74176A
RGBrgb(116, 23, 106)
HSLhsl(306, 67%, 27%)
HSVhsv(306, 80%, 45%)
CMYKcmyk(0%, 80.2%, 8.6%, 54.5%)
CIE-LABlab(27.76, 48.30, -25.83)
CIE-LCHlch(27.76, 54.77, 331.86°)
OKLaboklab(39.8% 0.1395 -0.071)
OKLCHoklch(39.8% 0.156 333)
XYZxyz(10.1104, 5.3673, 14.1364)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74176A #177421
analogous
#501774 #74176A #74173B
triadic
#74176A #6A7417 #176A74
tetradic
#74176A #745017 #177421 #173B74
square
#74176A #745017 #177421 #173B74
split-complementary
#74176A #3B7417 #177450
monochromatic
#1A0517 #410D3B #74176A #A72199 #D630C4

Accessibility & contrast

On white

10.13
#74176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#74176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74176A
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74176A#FFFFFF#000000##FFFFFF
##74176A1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12396C
Deuteranopia (green-blind)
#374668
Tritanopia (blue-blind)
#792140
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #74176a;
/* rgb */ color: rgb(116, 23, 106);
/* oklch */ color: oklch(39.8% 0.156 333.0);
Tailwind
colors: {
  custom: {
    50: '#9f6095',
    500: '#74176a',
    950: '#000000',
  },
}
SCSS
$custom: #74176a;
$custom-light: #9f6095;
$custom-dark: #000000;
JSON
{
  "hex": "#74176a",
  "rgb": {
    "r": 116,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 306.452,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39799,
    "c": 0.15649,
    "h": 333
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#74176A
secondary
#3DA949
accent
#EA503E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #74176A

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

Preview Lab → · Contrast checker → · Palette generator →

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