#74197D#74197D

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

Color values

HEX#74197D
RGBrgb(116, 25, 125)
HSLhsl(295, 67%, 29%)
HSVhsv(295, 80%, 49%)
CMYKcmyk(7.2%, 80%, 0%, 51%)
CIE-LABlab(29.13, 50.97, -35.77)
CIE-LCHlch(29.13, 62.27, 324.94°)
OKLaboklab(41.15% 0.1373 -0.0998)
OKLCHoklch(41.15% 0.17 324)
XYZxyz(11.2514, 5.8896, 19.9422)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74197D #227D19
analogous
#42197D #74197D #7D1954
triadic
#74197D #7D7419 #197D74
tetradic
#74197D #7D4219 #227D19 #19547D
square
#74197D #7D4219 #227D19 #19547D
split-complementary
#74197D #547D19 #197D42
monochromatic
#18051A #450F4A #74197D #A323B0 #C939D7

Accessibility & contrast

On white

9.64
#74197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74197D
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74197D#FFFFFF#000000##FFFFFF
##74197D1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#2D487B
Tritanopia (blue-blind)
#762C4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #74197d;
/* rgb */ color: rgb(116, 25, 125);
/* oklch */ color: oklch(41.2% 0.170 324.0);
Tailwind
colors: {
  custom: {
    50: '#9f62a3',
    500: '#74197d',
    950: '#000000',
  },
}
SCSS
$custom: #74197d;
$custom-light: #9f62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#74197d",
  "rgb": {
    "r": 116,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 294.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41153,
    "c": 0.16975,
    "h": 324
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#74197D
secondary
#4BB140
accent
#EA3E4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74197D

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

Preview Lab → · Contrast checker → · Palette generator →

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