#74198E#74198E

#74198E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.184 H 317.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#74198E
RGBrgb(116, 25, 142)
HSLhsl(287, 70%, 33%)
HSVhsv(287, 82%, 56%)
CMYKcmyk(18.3%, 82.4%, 0%, 44.3%)
CIE-LABlab(30.31, 54.20, -44.49)
CIE-LCHlch(30.31, 70.13, 320.62°)
OKLaboklab(42.36% 0.135 -0.1254)
OKLCHoklch(42.36% 0.184 317.1)
XYZxyz(12.4318, 6.3618, 26.1590)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74198E #338E19
analogous
#3A198E #74198E #8E196D
triadic
#74198E #8E7419 #198E74
tetradic
#74198E #8E3A19 #338E19 #196D8E
square
#74198E #8E3A19 #338E19 #196D8E
split-complementary
#74198E #6D8E19 #198E3A
monochromatic
#1F0726 #49105A #74198E #9F22C2 #BC43DE

Accessibility & contrast

On white

9.24
#74198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#74198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74198E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74198E#FFFFFF#000000##FFFFFF
##74198E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#733555
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74198e;
/* rgb */ color: rgb(116, 25, 142);
/* oklch */ color: oklch(42.4% 0.184 317.1);
Tailwind
colors: {
  custom: {
    50: '#a063b0',
    500: '#74198e',
    950: '#000000',
  },
}
SCSS
$custom: #74198e;
$custom-light: #a063b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74198e",
  "rgb": {
    "r": 116,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 286.667,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42356,
    "c": 0.18426,
    "h": 317.1
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#74198E
secondary
#5FBF44
accent
#ED3B62
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74198E

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

Preview Lab → · Contrast checker → · Palette generator →

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