#74168F#74168F

#74168F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.188 H 316.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#74168F
RGBrgb(116, 22, 143)
HSLhsl(287, 73%, 32%)
HSVhsv(287, 85%, 56%)
CMYKcmyk(18.9%, 84.6%, 0%, 43.9%)
CIE-LABlab(30.08, 55.26, -45.47)
CIE-LCHlch(30.08, 71.57, 320.55°)
OKLaboklab(42.22% 0.137 -0.1283)
OKLCHoklch(42.22% 0.188 316.9)
XYZxyz(12.4465, 6.2705, 26.5360)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74168F #318F16
analogous
#38168F #74168F #8F166D
triadic
#74168F #8F7416 #168F74
tetradic
#74168F #8F3816 #318F16 #166D8F
square
#74168F #8F3816 #318F16 #166D8F
split-complementary
#74168F #6D8F16 #168F38
monochromatic
#1E0625 #490E5A #74168F #9F1EC4 #BD3EE1

Accessibility & contrast

On white

9.32
#74168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#74168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74168F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74168F#FFFFFF#000000##FFFFFF
##74168F1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#17498D
Tritanopia (blue-blind)
#723455
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74168f;
/* rgb */ color: rgb(116, 22, 143);
/* oklch */ color: oklch(42.2% 0.188 316.9);
Tailwind
colors: {
  custom: {
    50: '#a062b0',
    500: '#74168f',
    950: '#000000',
  },
}
SCSS
$custom: #74168f;
$custom-light: #a062b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74168f",
  "rgb": {
    "r": 116,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 286.612,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.18767,
    "h": 316.9
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#74168F
secondary
#5CC13F
accent
#F03861
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #74168F

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

Preview Lab → · Contrast checker → · Palette generator →

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