#74157E#74157E

#74157E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.174 H 323.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#74157E
RGBrgb(116, 21, 126)
HSLhsl(294, 71%, 29%)
HSVhsv(294, 83%, 49%)
CMYKcmyk(7.9%, 83.3%, 0%, 50.6%)
CIE-LABlab(28.79, 52.34, -36.95)
CIE-LCHlch(28.79, 64.06, 324.78°)
OKLaboklab(40.93% 0.1404 -0.1033)
OKLCHoklch(40.93% 0.174 323.7)
XYZxyz(11.2362, 5.7564, 20.2539)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74157E #1F7E15
analogous
#40157E #74157E #7E1554
triadic
#74157E #7E7415 #157E74
tetradic
#74157E #7E4015 #1F7E15 #15547E
square
#74157E #7E4015 #1F7E15 #15547E
split-complementary
#74157E #547E15 #157E40
monochromatic
#18041A #440C4A #74157E #A41EB2 #CC31DD

Accessibility & contrast

On white

9.76
#74157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#74157E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74157E
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74157E#FFFFFF#000000##FFFFFF
##74157E1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#2A477C
Tritanopia (blue-blind)
#762B4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74157e;
/* rgb */ color: rgb(116, 21, 126);
/* oklch */ color: oklch(40.9% 0.174 323.7);
Tailwind
colors: {
  custom: {
    50: '#a060a4',
    500: '#74157e',
    950: '#000000',
  },
}
SCSS
$custom: #74157e;
$custom-light: #a060a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74157e",
  "rgb": {
    "r": 116,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 294.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40931,
    "c": 0.17431,
    "h": 323.7
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#74157E
secondary
#47B33C
accent
#EE3A4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #74157E

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

Preview Lab → · Contrast checker → · Palette generator →

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