#74156C#74156C

#74156C is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.160 H 332.0°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#74156C
RGBrgb(116, 21, 108)
HSLhsl(305, 69%, 27%)
HSVhsv(305, 82%, 45%)
CMYKcmyk(0%, 81.9%, 6.9%, 54.5%)
CIE-LABlab(27.66, 49.23, -27.27)
CIE-LCHlch(27.66, 56.28, 331.02°)
OKLaboklab(39.77% 0.1413 -0.0751)
OKLCHoklch(39.77% 0.16 332)
XYZxyz(10.1774, 5.3329, 14.6778)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74156C #15741D
analogous
#4D1574 #74156C #74153C
triadic
#74156C #6C7415 #156C74
tetradic
#74156C #744D15 #15741D #153C74
square
#74156C #744D15 #15741D #153C74
split-complementary
#74156C #3C7415 #15744D
monochromatic
#1A0518 #400C3C #74156C #A81E9C #D92BCA

Accessibility & contrast

On white

10.16
#74156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#74156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74156C
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74156C#FFFFFF#000000##FFFFFF
##74156C1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C396E
Deuteranopia (green-blind)
#36466A
Tritanopia (blue-blind)
#792140
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #74156c;
/* rgb */ color: rgb(116, 21, 108);
/* oklch */ color: oklch(39.8% 0.160 332.0);
Tailwind
colors: {
  custom: {
    50: '#9f5f96',
    500: '#74156c',
    950: '#000000',
  },
}
SCSS
$custom: #74156c;
$custom-light: #9f5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#74156c",
  "rgb": {
    "r": 116,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 305.053,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39769,
    "c": 0.16001,
    "h": 332
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#74156C
secondary
#3BAA44
accent
#EC4B3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #74156C

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

Preview Lab → · Contrast checker → · Palette generator →

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