#74177E#74177E

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

Color values

HEX#74177E
RGBrgb(116, 23, 126)
HSLhsl(294, 69%, 29%)
HSVhsv(294, 82%, 49%)
CMYKcmyk(7.9%, 81.7%, 0%, 50.6%)
CIE-LABlab(28.99, 51.76, -36.63)
CIE-LCHlch(28.99, 63.41, 324.72°)
OKLaboklab(41.07% 0.1389 -0.1023)
OKLCHoklch(41.07% 0.173 323.6)
XYZxyz(11.2744, 5.8329, 20.2666)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74177E #217E17
analogous
#41177E #74177E #7E1755
triadic
#74177E #7E7417 #177E74
tetradic
#74177E #7E4117 #217E17 #17557E
square
#74177E #7E4117 #217E17 #17557E
split-complementary
#74177E #557E17 #177E41
monochromatic
#18051A #440E4A #74177E #A420B2 #CA35DA

Accessibility & contrast

On white

9.69
#74177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#74177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74177E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74177E#FFFFFF#000000##FFFFFF
##74177E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #74177e;
/* rgb */ color: rgb(116, 23, 126);
/* oklch */ color: oklch(41.1% 0.172 323.6);
Tailwind
colors: {
  custom: {
    50: '#a061a4',
    500: '#74177e',
    950: '#000000',
  },
}
SCSS
$custom: #74177e;
$custom-light: #a061a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74177e",
  "rgb": {
    "r": 116,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 294.175,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4107,
    "c": 0.1725,
    "h": 323.6
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#74177E
secondary
#49B33E
accent
#EC3C4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74177E

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

Preview Lab → · Contrast checker → · Palette generator →

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