#74167E#74167E

#74167E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.173 H 323.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#74167E
RGBrgb(116, 22, 126)
HSLhsl(294, 70%, 29%)
HSVhsv(294, 83%, 49%)
CMYKcmyk(7.9%, 82.5%, 0%, 50.6%)
CIE-LABlab(28.89, 52.05, -36.79)
CIE-LCHlch(28.89, 63.74, 324.75°)
OKLaboklab(41% 0.1397 -0.1028)
OKLCHoklch(41% 0.173 323.6)
XYZxyz(11.2549, 5.7939, 20.2601)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74167E #207E16
analogous
#40167E #74167E #7E1654
triadic
#74167E #7E7416 #167E74
tetradic
#74167E #7E4016 #207E16 #16547E
square
#74167E #7E4016 #207E16 #16547E
split-complementary
#74167E #547E16 #167E40
monochromatic
#18051A #440D4A #74167E #A41FB2 #CB33DB

Accessibility & contrast

On white

9.73
#74167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#74167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74167E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74167E#FFFFFF#000000##FFFFFF
##74167E1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#2A487C
Tritanopia (blue-blind)
#762B4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74167e;
/* rgb */ color: rgb(116, 22, 126);
/* oklch */ color: oklch(41.0% 0.173 323.6);
Tailwind
colors: {
  custom: {
    50: '#a061a4',
    500: '#74167e',
    950: '#000000',
  },
}
SCSS
$custom: #74167e;
$custom-light: #a061a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74167e",
  "rgb": {
    "r": 116,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 294.231,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40999,
    "c": 0.17342,
    "h": 323.6
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#74167E
secondary
#48B33D
accent
#ED3B4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #74167E

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

Preview Lab → · Contrast checker → · Palette generator →

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