#74198D#74198D

#74198D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.183 H 317.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#74198D
RGBrgb(116, 25, 141)
HSLhsl(287, 70%, 33%)
HSVhsv(287, 82%, 55%)
CMYKcmyk(17.7%, 82.3%, 0%, 44.7%)
CIE-LABlab(30.23, 54.01, -43.99)
CIE-LCHlch(30.23, 69.66, 320.84°)
OKLaboklab(42.28% 0.1352 -0.1239)
OKLCHoklch(42.28% 0.183 317.5)
XYZxyz(12.3571, 6.3319, 25.7654)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74198D #328D19
analogous
#3A198D #74198D #8D196C
triadic
#74198D #8D7419 #198D74
tetradic
#74198D #8D3A19 #328D19 #196C8D
square
#74198D #8D3A19 #328D19 #196C8D
split-complementary
#74198D #6C8D19 #198D3A
monochromatic
#1E0725 #491059 #74198D #9F22C1 #BC43DE

Accessibility & contrast

On white

9.27
#74198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74198D
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74198D#FFFFFF#000000##FFFFFF
##74198D1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#1C4A8B
Tritanopia (blue-blind)
#733454
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74198d;
/* rgb */ color: rgb(116, 25, 141);
/* oklch */ color: oklch(42.3% 0.183 317.5);
Tailwind
colors: {
  custom: {
    50: '#a063af',
    500: '#74198d',
    950: '#000000',
  },
}
SCSS
$custom: #74198d;
$custom-light: #a063af;
$custom-dark: #000000;
JSON
{
  "hex": "#74198d",
  "rgb": {
    "r": 116,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 287.069,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42282,
    "c": 0.18339,
    "h": 317.5
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#74198D
secondary
#5EBF43
accent
#ED3B61
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74198D

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

Preview Lab → · Contrast checker → · Palette generator →

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