#74167F#74167F

#74167F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.174 H 323.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#74167F
RGBrgb(116, 22, 127)
HSLhsl(294, 70%, 29%)
HSVhsv(294, 83%, 50%)
CMYKcmyk(8.7%, 82.7%, 0%, 50.2%)
CIE-LABlab(28.95, 52.24, -37.31)
CIE-LCHlch(28.95, 64.19, 324.46°)
OKLaboklab(41.07% 0.1395 -0.1043)
OKLCHoklch(41.07% 0.174 323.2)
XYZxyz(11.3198, 5.8198, 20.6017)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74167F #217F16
analogous
#40167F #74167F #7F1656
triadic
#74167F #7F7416 #167F74
tetradic
#74167F #7F4016 #217F16 #16567F
square
#74167F #7F4016 #217F16 #16567F
split-complementary
#74167F #567F16 #167F40
monochromatic
#18051A #440D4B #74167F #A41FB3 #CA34DC

Accessibility & contrast

On white

9.71
#74167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74167F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74167F#FFFFFF#000000##FFFFFF
##74167F1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#2A487D
Tritanopia (blue-blind)
#762C4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74167f;
/* rgb */ color: rgb(116, 22, 127);
/* oklch */ color: oklch(41.1% 0.174 323.2);
Tailwind
colors: {
  custom: {
    50: '#a061a5',
    500: '#74167f',
    950: '#000000',
  },
}
SCSS
$custom: #74167f;
$custom-light: #a061a5;
$custom-dark: #000000;
JSON
{
  "hex": "#74167f",
  "rgb": {
    "r": 116,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 293.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41068,
    "c": 0.17424,
    "h": 323.2
  },
  "luminance": 0.05819
}

Semantic roles & 50–950 ramp

primary
#74167F
secondary
#49B43D
accent
#ED3B4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #74167F

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

Preview Lab → · Contrast checker → · Palette generator →

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