#74168E#74168E

#74168E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.1% C 0.187 H 317.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#74168E
RGBrgb(116, 22, 142)
HSLhsl(287, 73%, 32%)
HSVhsv(287, 85%, 56%)
CMYKcmyk(18.3%, 84.5%, 0%, 44.3%)
CIE-LABlab(30.01, 55.07, -44.97)
CIE-LCHlch(30.01, 71.10, 320.76°)
OKLaboklab(42.15% 0.1372 -0.1268)
OKLCHoklch(42.15% 0.187 317.3)
XYZxyz(12.3711, 6.2404, 26.1388)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74168E #308E16
analogous
#38168E #74168E #8E166C
triadic
#74168E #8E7416 #168E74
tetradic
#74168E #8E3816 #308E16 #166C8E
square
#74168E #8E3816 #308E16 #166C8E
split-complementary
#74168E #6C8E16 #168E38
monochromatic
#1D0624 #490E59 #74168E #9F1EC3 #BE3DE1

Accessibility & contrast

On white

9.34
#74168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74168E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74168E#FFFFFF#000000##FFFFFF
##74168E1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#18498C
Tritanopia (blue-blind)
#733354
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74168e;
/* rgb */ color: rgb(116, 22, 142);
/* oklch */ color: oklch(42.1% 0.187 317.3);
Tailwind
colors: {
  custom: {
    50: '#a062b0',
    500: '#74168e',
    950: '#000000',
  },
}
SCSS
$custom: #74168e;
$custom-light: #a062b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74168e",
  "rgb": {
    "r": 116,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 287,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42148,
    "c": 0.18682,
    "h": 317.3
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#74168E
secondary
#5BC13F
accent
#F03860
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74168E

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

Preview Lab → · Contrast checker → · Palette generator →

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