#74166E#74166E

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

Color values

HEX#74166E
RGBrgb(116, 22, 110)
HSLhsl(304, 68%, 27%)
HSVhsv(304, 81%, 45%)
CMYKcmyk(0%, 81%, 5.2%, 54.5%)
CIE-LABlab(27.88, 49.26, -28.21)
CIE-LCHlch(27.88, 56.77, 330.20°)
OKLaboklab(39.96% 0.1405 -0.0778)
OKLCHoklch(39.96% 0.161 331)
XYZxyz(10.3038, 5.4135, 15.2510)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74166E #16741C
analogous
#4B1674 #74166E #74163F
triadic
#74166E #6E7416 #166E74
tetradic
#74166E #744B16 #16741C #163F74
square
#74166E #744B16 #16741C #163F74
split-complementary
#74166E #3F7416 #16744B
monochromatic
#1A0518 #410C3D #74166E #A7209F #D72DCC

Accessibility & contrast

On white

10.08
#74166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74166E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74166E#FFFFFF#000000##FFFFFF
##74166E1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3A70
Deuteranopia (green-blind)
#35466C
Tritanopia (blue-blind)
#792342
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #74166e;
/* rgb */ color: rgb(116, 22, 110);
/* oklch */ color: oklch(40.0% 0.161 331.0);
Tailwind
colors: {
  custom: {
    50: '#9f6098',
    500: '#74166e',
    950: '#000000',
  },
}
SCSS
$custom: #74166e;
$custom-light: #9f6098;
$custom-dark: #000000;
JSON
{
  "hex": "#74166e",
  "rgb": {
    "r": 116,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 303.83,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39963,
    "c": 0.16058,
    "h": 331
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#74166E
secondary
#3CAA43
accent
#EB483D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #74166E

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

Preview Lab → · Contrast checker → · Palette generator →

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