#74166F#74166F

#74166F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.161 H 330.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#74166F
RGBrgb(116, 22, 111)
HSLhsl(303, 68%, 27%)
HSVhsv(303, 81%, 45%)
CMYKcmyk(0%, 81%, 4.3%, 54.5%)
CIE-LABlab(27.94, 49.43, -28.76)
CIE-LCHlch(27.94, 57.19, 329.81°)
OKLaboklab(40.02% 0.1405 -0.0794)
OKLCHoklch(40.02% 0.161 330.5)
XYZxyz(10.3586, 5.4354, 15.5394)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74166F #16741B
analogous
#4A1674 #74166F #741640
triadic
#74166F #6F7416 #166F74
tetradic
#74166F #744A16 #16741B #164074
square
#74166F #744A16 #16741B #164074
split-complementary
#74166F #407416 #16744A
monochromatic
#1A0519 #410C3E #74166F #A720A0 #D72DCE

Accessibility & contrast

On white

10.06
#74166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#74166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74166F
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74166F#FFFFFF#000000##FFFFFF
##74166F1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083A71
Deuteranopia (green-blind)
#34466D
Tritanopia (blue-blind)
#792442
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #74166f;
/* rgb */ color: rgb(116, 22, 111);
/* oklch */ color: oklch(40.0% 0.161 330.5);
Tailwind
colors: {
  custom: {
    50: '#9f6099',
    500: '#74166f',
    950: '#000000',
  },
}
SCSS
$custom: #74166f;
$custom-light: #9f6099;
$custom-dark: #000000;
JSON
{
  "hex": "#74166f",
  "rgb": {
    "r": 116,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 303.191,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.40024,
    "c": 0.16136,
    "h": 330.5
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#74166F
secondary
#3CAA42
accent
#EB463D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #74166F

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

Preview Lab → · Contrast checker → · Palette generator →

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