#74197F#74197F

#74197F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.171 H 323.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#74197F
RGBrgb(116, 25, 127)
HSLhsl(294, 67%, 30%)
HSVhsv(294, 80%, 50%)
CMYKcmyk(8.7%, 80.3%, 0%, 50.2%)
CIE-LABlab(29.26, 51.34, -36.81)
CIE-LCHlch(29.26, 63.17, 324.36°)
OKLaboklab(41.29% 0.1371 -0.1029)
OKLCHoklch(41.29% 0.171 323.1)
XYZxyz(11.3805, 5.9413, 20.6219)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74197F #247F19
analogous
#41197F #74197F #7F1957
triadic
#74197F #7F7419 #197F74
tetradic
#74197F #7F4119 #247F19 #19577F
square
#74197F #7F4119 #247F19 #19577F
split-complementary
#74197F #577F19 #197F41
monochromatic
#17051A #450F4C #74197F #A323B2 #C73AD8

Accessibility & contrast

On white

9.60
#74197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#74197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74197F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74197F#FFFFFF#000000##FFFFFF
##74197F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#2B487D
Tritanopia (blue-blind)
#762D4C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #74197f;
/* rgb */ color: rgb(116, 25, 127);
/* oklch */ color: oklch(41.3% 0.171 323.1);
Tailwind
colors: {
  custom: {
    50: '#a062a5',
    500: '#74197f',
    950: '#000000',
  },
}
SCSS
$custom: #74197f;
$custom-light: #a062a5;
$custom-dark: #000000;
JSON
{
  "hex": "#74197f",
  "rgb": {
    "r": 116,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 293.529,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41288,
    "c": 0.17143,
    "h": 323.1
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#74197F
secondary
#4DB341
accent
#EA3E50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74197F

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

Preview Lab → · Contrast checker → · Palette generator →

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