#74157C#74157C

#74157C is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.173 H 324.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#74157C
RGBrgb(116, 21, 124)
HSLhsl(295, 71%, 28%)
HSVhsv(295, 83%, 49%)
CMYKcmyk(6.5%, 83.1%, 0%, 51.4%)
CIE-LABlab(28.66, 51.98, -35.90)
CIE-LCHlch(28.66, 63.17, 325.37°)
OKLaboklab(40.79% 0.1406 -0.1002)
OKLCHoklch(40.79% 0.173 324.5)
XYZxyz(11.1084, 5.7053, 19.5810)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74157C #1D7C15
analogous
#40157C #74157C #7C1550
triadic
#74157C #7C7415 #157C74
tetradic
#74157C #7C4015 #1D7C15 #15507C
square
#74157C #7C4015 #1D7C15 #15507C
split-complementary
#74157C #507C15 #157C40
monochromatic
#18041A #430C48 #74157C #A51EB0 #CE30DC

Accessibility & contrast

On white

9.81
#74157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#74157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74157C
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74157C#FFFFFF#000000##FFFFFF
##74157C1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#2B477A
Tritanopia (blue-blind)
#762A49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74157c;
/* rgb */ color: rgb(116, 21, 124);
/* oklch */ color: oklch(40.8% 0.173 324.5);
Tailwind
colors: {
  custom: {
    50: '#a060a2',
    500: '#74157c',
    950: '#000000',
  },
}
SCSS
$custom: #74157c;
$custom-light: #a060a2;
$custom-dark: #000000;
JSON
{
  "hex": "#74157c",
  "rgb": {
    "r": 116,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 295.34,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40795,
    "c": 0.17268,
    "h": 324.5
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#74157C
secondary
#45B13C
accent
#EE3A48
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #74157C

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

Preview Lab → · Contrast checker → · Palette generator →

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