#74198F#74198F

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

Color values

HEX#74198F
RGBrgb(116, 25, 143)
HSLhsl(286, 70%, 33%)
HSVhsv(286, 83%, 56%)
CMYKcmyk(18.9%, 82.5%, 0%, 43.9%)
CIE-LABlab(30.38, 54.40, -44.99)
CIE-LCHlch(30.38, 70.60, 320.41°)
OKLaboklab(42.43% 0.1348 -0.1269)
OKLCHoklch(42.43% 0.185 316.7)
XYZxyz(12.5073, 6.3920, 26.5562)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74198F #348F19
analogous
#39198F #74198F #8F196F
triadic
#74198F #8F7419 #198F74
tetradic
#74198F #8F3919 #348F19 #196F8F
square
#74198F #8F3919 #348F19 #196F8F
split-complementary
#74198F #6F8F19 #198F39
monochromatic
#1F0727 #4A105B #74198F #9E22C3 #BB44DE

Accessibility & contrast

On white

9.22
#74198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#74198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74198F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74198F#FFFFFF#000000##FFFFFF
##74198F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#194A8D
Tritanopia (blue-blind)
#723555
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #74198f;
/* rgb */ color: rgb(116, 25, 143);
/* oklch */ color: oklch(42.4% 0.185 316.7);
Tailwind
colors: {
  custom: {
    50: '#a063b0',
    500: '#74198f',
    950: '#000000',
  },
}
SCSS
$custom: #74198f;
$custom-light: #a063b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74198f",
  "rgb": {
    "r": 116,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 286.271,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4243,
    "c": 0.18513,
    "h": 316.7
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#74198F
secondary
#61BF44
accent
#ED3B64
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #74198F

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

Preview Lab → · Contrast checker → · Palette generator →

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