#74168A#74168A

#74168A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.9% C 0.183 H 318.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#74168A
RGBrgb(116, 22, 138)
HSLhsl(289, 73%, 31%)
HSVhsv(289, 84%, 54%)
CMYKcmyk(15.9%, 84.1%, 0%, 45.9%)
CIE-LABlab(29.72, 54.30, -42.96)
CIE-LCHlch(29.72, 69.24, 321.65°)
OKLaboklab(41.85% 0.138 -0.1209)
OKLCHoklch(41.85% 0.183 318.8)
XYZxyz(12.0762, 6.1224, 24.5855)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74168A #2C8A16
analogous
#3A168A #74168A #8A1666
triadic
#74168A #8A7416 #168A74
tetradic
#74168A #8A3A16 #2C8A16 #16668A
square
#74168A #8A3A16 #2C8A16 #16668A
split-complementary
#74168A #668A16 #168A3A
monochromatic
#1B0520 #480E55 #74168A #A01EBF #C03BE0

Accessibility & contrast

On white

9.44
#74168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#74168A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74168A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74168A#FFFFFF#000000##FFFFFF
##74168A1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#1E4988
Tritanopia (blue-blind)
#743152
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #74168a;
/* rgb */ color: rgb(116, 22, 138);
/* oklch */ color: oklch(41.9% 0.183 318.8);
Tailwind
colors: {
  custom: {
    50: '#a061ad',
    500: '#74168a',
    950: '#000000',
  },
}
SCSS
$custom: #74168a;
$custom-light: #a061ad;
$custom-dark: #000000;
JSON
{
  "hex": "#74168a",
  "rgb": {
    "r": 116,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 288.621,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41851,
    "c": 0.18343,
    "h": 318.8
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#74168A
secondary
#56BE3E
accent
#EF395B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74168A

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

Preview Lab → · Contrast checker → · Palette generator →

#74168A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva