#74166D#74166D

#74166D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.160 H 331.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#74166D
RGBrgb(116, 22, 109)
HSLhsl(304, 68%, 27%)
HSVhsv(304, 81%, 45%)
CMYKcmyk(0%, 81%, 6%, 54.5%)
CIE-LABlab(27.82, 49.10, -27.66)
CIE-LCHlch(27.82, 56.35, 330.61°)
OKLaboklab(39.9% 0.1405 -0.0762)
OKLCHoklch(39.9% 0.16 331.5)
XYZxyz(10.2497, 5.3918, 14.9659)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74166D #16741D
analogous
#4C1674 #74166D #74163E
triadic
#74166D #6D7416 #166D74
tetradic
#74166D #744C16 #16741D #163E74
square
#74166D #744C16 #16741D #163E74
split-complementary
#74166D #3E7416 #16744C
monochromatic
#1A0518 #410C3D #74166D #A7209D #D72DCB

Accessibility & contrast

On white

10.10
#74166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#74166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74166D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74166D#FFFFFF#000000##FFFFFF
##74166D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C396F
Deuteranopia (green-blind)
#35466B
Tritanopia (blue-blind)
#792241
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #74166d;
/* rgb */ color: rgb(116, 22, 109);
/* oklch */ color: oklch(39.9% 0.160 331.5);
Tailwind
colors: {
  custom: {
    50: '#9f6097',
    500: '#74166d',
    950: '#000000',
  },
}
SCSS
$custom: #74166d;
$custom-light: #9f6097;
$custom-dark: #000000;
JSON
{
  "hex": "#74166d",
  "rgb": {
    "r": 116,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 304.468,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.15981,
    "h": 331.5
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#74166D
secondary
#3CAA44
accent
#EB4A3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #74166D

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

Preview Lab → · Contrast checker → · Palette generator →

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