#74157F#74157F

#74157F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.175 H 323.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#74157F
RGBrgb(116, 21, 127)
HSLhsl(294, 72%, 29%)
HSVhsv(294, 83%, 50%)
CMYKcmyk(8.7%, 83.5%, 0%, 50.2%)
CIE-LABlab(28.86, 52.52, -37.47)
CIE-LCHlch(28.86, 64.51, 324.49°)
OKLaboklab(41% 0.1403 -0.1048)
OKLCHoklch(41% 0.175 323.2)
XYZxyz(11.3010, 5.7823, 20.5954)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74157F #207F15
analogous
#3F157F #74157F #7F1555
triadic
#74157F #7F7415 #157F74
tetradic
#74157F #7F3F15 #207F15 #15557F
square
#74157F #7F3F15 #207F15 #15557F
split-complementary
#74157F #557F15 #157F3F
monochromatic
#18041A #440C4A #74157F #A41EB4 #CB31DD

Accessibility & contrast

On white

9.74
#74157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#74157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74157F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74157F#FFFFFF#000000##FFFFFF
##74157F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#29487D
Tritanopia (blue-blind)
#762B4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74157f;
/* rgb */ color: rgb(116, 21, 127);
/* oklch */ color: oklch(41.0% 0.175 323.2);
Tailwind
colors: {
  custom: {
    50: '#a060a5',
    500: '#74157f',
    950: '#000000',
  },
}
SCSS
$custom: #74157f;
$custom-light: #a060a5;
$custom-dark: #000000;
JSON
{
  "hex": "#74157f",
  "rgb": {
    "r": 116,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 293.774,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41,
    "c": 0.17512,
    "h": 323.2
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#74157F
secondary
#48B43C
accent
#EE394C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #74157F

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

Preview Lab → · Contrast checker → · Palette generator →

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