#74157B#74157B

#74157B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.172 H 325.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#74157B
RGBrgb(116, 21, 123)
HSLhsl(296, 71%, 28%)
HSVhsv(296, 83%, 48%)
CMYKcmyk(5.7%, 82.9%, 0%, 51.8%)
CIE-LABlab(28.59, 51.80, -35.37)
CIE-LCHlch(28.59, 62.72, 325.67°)
OKLaboklab(40.73% 0.1407 -0.0987)
OKLCHoklch(40.73% 0.172 325)
XYZxyz(11.0455, 5.6801, 19.2497)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74157B #1C7B15
analogous
#41157B #74157B #7B154F
triadic
#74157B #7B7415 #157B74
tetradic
#74157B #7B4115 #1C7B15 #154F7B
square
#74157B #7B4115 #1C7B15 #154F7B
split-complementary
#74157B #4F7B15 #157B41
monochromatic
#19041A #430C47 #74157B #A51EAF #D02FDB

Accessibility & contrast

On white

9.83
#74157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74157B
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74157B#FFFFFF#000000##FFFFFF
##74157B1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#2C4779
Tritanopia (blue-blind)
#772949
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #74157b;
/* rgb */ color: rgb(116, 21, 123);
/* oklch */ color: oklch(40.7% 0.172 325.0);
Tailwind
colors: {
  custom: {
    50: '#a060a2',
    500: '#74157b',
    950: '#000000',
  },
}
SCSS
$custom: #74157b;
$custom-light: #a060a2;
$custom-dark: #000000;
JSON
{
  "hex": "#74157b",
  "rgb": {
    "r": 116,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 295.882,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40727,
    "c": 0.17186,
    "h": 325
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#74157B
secondary
#43B03B
accent
#EE3A47
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #74157B

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

Preview Lab → · Contrast checker → · Palette generator →

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