#74198A#74198A

#74198A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.1% C 0.181 H 318.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#74198A
RGBrgb(116, 25, 138)
HSLhsl(288, 69%, 32%)
HSVhsv(288, 82%, 54%)
CMYKcmyk(15.9%, 81.9%, 0%, 45.9%)
CIE-LABlab(30.02, 53.42, -42.48)
CIE-LCHlch(30.02, 68.25, 321.51°)
OKLaboklab(42.06% 0.1357 -0.1195)
OKLCHoklch(42.06% 0.181 318.6)
XYZxyz(12.1369, 6.2438, 24.6057)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74198A #2F8A19
analogous
#3C198A #74198A #8A1967
triadic
#74198A #8A7419 #198A74
tetradic
#74198A #8A3C19 #2F8A19 #19678A
square
#74198A #8A3C19 #2F8A19 #19678A
split-complementary
#74198A #678A19 #198A3C
monochromatic
#1D0622 #481056 #74198A #A022BE #BE41DD

Accessibility & contrast

On white

9.34
#74198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#74198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74198A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74198A#FFFFFF#000000##FFFFFF
##74198A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#204988
Tritanopia (blue-blind)
#743352
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74198a;
/* rgb */ color: rgb(116, 25, 138);
/* oklch */ color: oklch(42.1% 0.181 318.6);
Tailwind
colors: {
  custom: {
    50: '#a062ad',
    500: '#74198a',
    950: '#000000',
  },
}
SCSS
$custom: #74198a;
$custom-light: #a062ad;
$custom-dark: #000000;
JSON
{
  "hex": "#74198a",
  "rgb": {
    "r": 116,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 288.319,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42062,
    "c": 0.1808,
    "h": 318.6
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#74198A
secondary
#5ABD42
accent
#EC3C5E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74198A

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

Preview Lab → · Contrast checker → · Palette generator →

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