#74177A#74177A

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

Color values

HEX#74177A
RGBrgb(116, 23, 122)
HSLhsl(296, 68%, 28%)
HSVhsv(296, 81%, 48%)
CMYKcmyk(4.9%, 81.1%, 0%, 52.2%)
CIE-LABlab(28.73, 51.04, -34.52)
CIE-LCHlch(28.73, 61.62, 325.93°)
OKLaboklab(40.8% 0.1392 -0.0962)
OKLCHoklch(40.8% 0.169 325.4)
XYZxyz(11.0215, 5.7317, 18.9344)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74177A #1D7A17
analogous
#42177A #74177A #7A174E
triadic
#74177A #7A7417 #177A74
tetradic
#74177A #7A4217 #1D7A17 #174E7A
square
#74177A #7A4217 #1D7A17 #174E7A
split-complementary
#74177A #4E7A17 #177A42
monochromatic
#18051A #430D47 #74177A #A521AD #CE33D9

Accessibility & contrast

On white

9.78
#74177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#74177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74177A
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74177A#FFFFFF#000000##FFFFFF
##74177A1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#2E4878
Tritanopia (blue-blind)
#772A49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74177a;
/* rgb */ color: rgb(116, 23, 122);
/* oklch */ color: oklch(40.8% 0.169 325.4);
Tailwind
colors: {
  custom: {
    50: '#a061a1',
    500: '#74177a',
    950: '#000000',
  },
}
SCSS
$custom: #74177a;
$custom-light: #a061a1;
$custom-dark: #000000;
JSON
{
  "hex": "#74177a",
  "rgb": {
    "r": 116,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 296.364,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40801,
    "c": 0.16921,
    "h": 325.4
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#74177A
secondary
#45AF3E
accent
#EB3D47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #74177A

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

Preview Lab → · Contrast checker → · Palette generator →

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