#74197E#74197E

#74197E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.171 H 323.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#74197E
RGBrgb(116, 25, 126)
HSLhsl(294, 67%, 30%)
HSVhsv(294, 80%, 49%)
CMYKcmyk(7.9%, 80.2%, 0%, 50.6%)
CIE-LABlab(29.20, 51.15, -36.29)
CIE-LCHlch(29.20, 62.72, 324.65°)
OKLaboklab(41.22% 0.1372 -0.1014)
OKLCHoklch(41.22% 0.171 323.5)
XYZxyz(11.3156, 5.9153, 20.2804)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74197E #237E19
analogous
#41197E #74197E #7E1956
triadic
#74197E #7E7419 #197E74
tetradic
#74197E #7E4119 #237E19 #19567E
square
#74197E #7E4119 #237E19 #19567E
split-complementary
#74197E #567E19 #197E41
monochromatic
#18051A #450F4B #74197E #A323B1 #C83AD8

Accessibility & contrast

On white

9.62
#74197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#74197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74197E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74197E#FFFFFF#000000##FFFFFF
##74197E1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#2C487C
Tritanopia (blue-blind)
#762D4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #74197e;
/* rgb */ color: rgb(116, 25, 126);
/* oklch */ color: oklch(41.2% 0.171 323.5);
Tailwind
colors: {
  custom: {
    50: '#a062a4',
    500: '#74197e',
    950: '#000000',
  },
}
SCSS
$custom: #74197e;
$custom-light: #a062a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74197e",
  "rgb": {
    "r": 116,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 294.059,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4122,
    "c": 0.17058,
    "h": 323.5
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#74197E
secondary
#4CB241
accent
#EA3E4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74197E

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

Preview Lab → · Contrast checker → · Palette generator →

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