#74197A#74197A

#74197A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.167 H 325.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#74197A
RGBrgb(116, 25, 122)
HSLhsl(296, 66%, 29%)
HSVhsv(296, 80%, 48%)
CMYKcmyk(4.9%, 79.5%, 0%, 52.2%)
CIE-LABlab(28.94, 50.42, -34.18)
CIE-LCHlch(28.94, 60.92, 325.87°)
OKLaboklab(40.95% 0.1375 -0.0952)
OKLCHoklch(40.95% 0.167 325.3)
XYZxyz(11.0627, 5.8141, 18.9481)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74197A #1F7A19
analogous
#44197A #74197A #7A1950
triadic
#74197A #7A7419 #197A74
tetradic
#74197A #7A4419 #1F7A19 #19507A
square
#74197A #7A4419 #1F7A19 #19507A
split-complementary
#74197A #507A19 #197A44
monochromatic
#180519 #440F47 #74197A #A423AD #CC37D6

Accessibility & contrast

On white

9.71
#74197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#74197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74197A
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74197A#FFFFFF#000000##FFFFFF
##74197A1.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)
#003D7D
Deuteranopia (green-blind)
#2F4878
Tritanopia (blue-blind)
#772B49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74197a;
/* rgb */ color: rgb(116, 25, 122);
/* oklch */ color: oklch(41.0% 0.167 325.3);
Tailwind
colors: {
  custom: {
    50: '#9f62a1',
    500: '#74197a',
    950: '#000000',
  },
}
SCSS
$custom: #74197a;
$custom-light: #9f62a1;
$custom-dark: #000000;
JSON
{
  "hex": "#74197a",
  "rgb": {
    "r": 116,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 296.289,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40953,
    "c": 0.16725,
    "h": 325.3
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#74197A
secondary
#47AF40
accent
#E93F49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #74197A

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

Preview Lab → · Contrast checker → · Palette generator →

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