#74168D#74168D

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

Color values

HEX#74168D
RGBrgb(116, 22, 141)
HSLhsl(287, 73%, 32%)
HSVhsv(287, 84%, 55%)
CMYKcmyk(17.7%, 84.4%, 0%, 44.7%)
CIE-LABlab(29.94, 54.88, -44.47)
CIE-LCHlch(29.94, 70.63, 320.98°)
OKLaboklab(42.07% 0.1374 -0.1253)
OKLCHoklch(42.07% 0.186 317.6)
XYZxyz(12.2964, 6.2105, 25.7452)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74168D #2F8D16
analogous
#39168D #74168D #8D166B
triadic
#74168D #8D7416 #168D74
tetradic
#74168D #8D3916 #2F8D16 #166B8D
square
#74168D #8D3916 #2F8D16 #166B8D
split-complementary
#74168D #6B8D16 #168D39
monochromatic
#1D0523 #480E58 #74168D #A01EC2 #BE3DE1

Accessibility & contrast

On white

9.37
#74168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#74168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74168D
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74168D#FFFFFF#000000##FFFFFF
##74168D1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#1A498B
Tritanopia (blue-blind)
#733353
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #74168d;
/* rgb */ color: rgb(116, 22, 141);
/* oklch */ color: oklch(42.1% 0.186 317.6);
Tailwind
colors: {
  custom: {
    50: '#a062af',
    500: '#74168d',
    950: '#000000',
  },
}
SCSS
$custom: #74168d;
$custom-light: #a062af;
$custom-dark: #000000;
JSON
{
  "hex": "#74168d",
  "rgb": {
    "r": 116,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 287.395,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42073,
    "c": 0.18597,
    "h": 317.6
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#74168D
secondary
#5AC13E
accent
#F0385F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74168D

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

Preview Lab → · Contrast checker → · Palette generator →

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