#74167A#74167A

#74167A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.170 H 325.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#74167A
RGBrgb(116, 22, 122)
HSLhsl(296, 69%, 28%)
HSVhsv(296, 82%, 48%)
CMYKcmyk(4.9%, 82%, 0%, 52.2%)
CIE-LABlab(28.62, 51.33, -34.68)
CIE-LCHlch(28.62, 61.95, 325.96°)
OKLaboklab(40.73% 0.14 -0.0967)
OKLCHoklch(40.73% 0.17 325.4)
XYZxyz(11.0020, 5.6927, 18.9279)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74167A #1C7A16
analogous
#42167A #74167A #7A164E
triadic
#74167A #7A7416 #167A74
tetradic
#74167A #7A4216 #1C7A16 #164E7A
square
#74167A #7A4216 #1C7A16 #164E7A
split-complementary
#74167A #4E7A16 #167A42
monochromatic
#19051A #430D46 #74167A #A51FAE #D031DA

Accessibility & contrast

On white

9.82
#74167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#74167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74167A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74167A#FFFFFF#000000##FFFFFF
##74167A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#2D4778
Tritanopia (blue-blind)
#772948
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #74167a;
/* rgb */ color: rgb(116, 22, 122);
/* oklch */ color: oklch(40.7% 0.170 325.4);
Tailwind
colors: {
  custom: {
    50: '#a060a1',
    500: '#74167a',
    950: '#000000',
  },
}
SCSS
$custom: #74167a;
$custom-light: #a060a1;
$custom-dark: #000000;
JSON
{
  "hex": "#74167a",
  "rgb": {
    "r": 116,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 296.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40729,
    "c": 0.17014,
    "h": 325.4
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#74167A
secondary
#43AF3D
accent
#EC3C46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #74167A

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

Preview Lab → · Contrast checker → · Palette generator →

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