#74166A#74166A

#74166A is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.158 H 333.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#74166A
RGBrgb(116, 22, 106)
HSLhsl(306, 68%, 27%)
HSVhsv(306, 81%, 45%)
CMYKcmyk(0%, 81%, 8.6%, 54.5%)
CIE-LABlab(27.65, 48.61, -26.00)
CIE-LCHlch(27.65, 55.12, 331.86°)
OKLaboklab(39.72% 0.1404 -0.0714)
OKLCHoklch(39.72% 0.158 333)
XYZxyz(10.0910, 5.3283, 14.1299)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74166A #167420
analogous
#4F1674 #74166A #74163B
triadic
#74166A #6A7416 #166A74
tetradic
#74166A #744F16 #167420 #163B74
square
#74166A #744F16 #167420 #163B74
split-complementary
#74166A #3B7416 #16744F
monochromatic
#1A0518 #410C3B #74166A #A72099 #D72DC5

Accessibility & contrast

On white

10.17
#74166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74166A
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74166A#FFFFFF#000000##FFFFFF
##74166A1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11396C
Deuteranopia (green-blind)
#374668
Tritanopia (blue-blind)
#79213F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #74166a;
/* rgb */ color: rgb(116, 22, 106);
/* oklch */ color: oklch(39.7% 0.158 333.0);
Tailwind
colors: {
  custom: {
    50: '#9f6095',
    500: '#74166a',
    950: '#000000',
  },
}
SCSS
$custom: #74166a;
$custom-light: #9f6095;
$custom-dark: #000000;
JSON
{
  "hex": "#74166a",
  "rgb": {
    "r": 116,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 306.383,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39723,
    "c": 0.1575,
    "h": 333
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#74166A
secondary
#3CAA48
accent
#EB4F3D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #74166A

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

Preview Lab → · Contrast checker → · Palette generator →

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