#74197C#74197C

#74197C is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.169 H 324.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#74197C
RGBrgb(116, 25, 124)
HSLhsl(295, 66%, 29%)
HSVhsv(295, 80%, 49%)
CMYKcmyk(6.5%, 79.8%, 0%, 51.4%)
CIE-LABlab(29.07, 50.79, -35.24)
CIE-LCHlch(29.07, 61.81, 325.24°)
OKLaboklab(41.09% 0.1374 -0.0983)
OKLCHoklch(41.09% 0.169 324.4)
XYZxyz(11.1879, 5.8642, 19.6075)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74197C #217C19
analogous
#43197C #74197C #7C1953
triadic
#74197C #7C7419 #197C74
tetradic
#74197C #7C4319 #217C19 #19537C
square
#74197C #7C4319 #217C19 #19537C
split-complementary
#74197C #537C19 #197C43
monochromatic
#180519 #440F49 #74197C #A423AF #CA38D7

Accessibility & contrast

On white

9.66
#74197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#74197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74197C
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74197C#FFFFFF#000000##FFFFFF
##74197C1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#762C4A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74197c;
/* rgb */ color: rgb(116, 25, 124);
/* oklch */ color: oklch(41.1% 0.169 324.4);
Tailwind
colors: {
  custom: {
    50: '#9f62a2',
    500: '#74197c',
    950: '#000000',
  },
}
SCSS
$custom: #74197c;
$custom-light: #9f62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#74197c",
  "rgb": {
    "r": 116,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 295.152,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41086,
    "c": 0.16892,
    "h": 324.4
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#74197C
secondary
#49B040
accent
#E93E4C
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74197C

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

Preview Lab → · Contrast checker → · Palette generator →

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