#74166C#74166C

#74166C is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.159 H 332.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#74166C
RGBrgb(116, 22, 108)
HSLhsl(305, 68%, 27%)
HSVhsv(305, 81%, 45%)
CMYKcmyk(0%, 81%, 6.9%, 54.5%)
CIE-LABlab(27.77, 48.93, -27.11)
CIE-LCHlch(27.77, 55.94, 331.02°)
OKLaboklab(39.84% 0.1404 -0.0746)
OKLCHoklch(39.84% 0.159 332)
XYZxyz(10.1962, 5.3704, 14.6840)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74166C #16741E
analogous
#4D1674 #74166C #74163D
triadic
#74166C #6C7416 #166C74
tetradic
#74166C #744D16 #16741E #163D74
square
#74166C #744D16 #16741E #163D74
split-complementary
#74166C #3D7416 #16744D
monochromatic
#1A0518 #410C3C #74166C #A7209C #D72DC9

Accessibility & contrast

On white

10.13
#74166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#74166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74166C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74166C#FFFFFF#000000##FFFFFF
##74166C1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E396E
Deuteranopia (green-blind)
#36466A
Tritanopia (blue-blind)
#792240
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #74166c;
/* rgb */ color: rgb(116, 22, 108);
/* oklch */ color: oklch(39.8% 0.159 332.0);
Tailwind
colors: {
  custom: {
    50: '#9f6096',
    500: '#74166c',
    950: '#000000',
  },
}
SCSS
$custom: #74166c;
$custom-light: #9f6096;
$custom-dark: #000000;
JSON
{
  "hex": "#74166c",
  "rgb": {
    "r": 116,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 305.106,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39842,
    "c": 0.15903,
    "h": 332
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#74166C
secondary
#3CAA45
accent
#EB4C3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #74166C

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

Preview Lab → · Contrast checker → · Palette generator →

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