#74167B#74167B

#74167B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.171 H 324.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#74167B
RGBrgb(116, 22, 123)
HSLhsl(296, 70%, 28%)
HSVhsv(296, 82%, 48%)
CMYKcmyk(5.7%, 82.1%, 0%, 51.8%)
CIE-LABlab(28.69, 51.51, -35.21)
CIE-LCHlch(28.69, 62.40, 325.64°)
OKLaboklab(40.8% 0.1399 -0.0982)
OKLCHoklch(40.8% 0.171 324.9)
XYZxyz(11.0642, 5.7176, 19.2559)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74167B #1D7B16
analogous
#41167B #74167B #7B164F
triadic
#74167B #7B7416 #167B74
tetradic
#74167B #7B4116 #1D7B16 #164F7B
square
#74167B #7B4116 #1D7B16 #164F7B
split-complementary
#74167B #4F7B16 #167B41
monochromatic
#18051A #430D47 #74167B #A51FAF #CE31DA

Accessibility & contrast

On white

9.80
#74167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#74167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74167B
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74167B#FFFFFF#000000##FFFFFF
##74167B1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#2D4779
Tritanopia (blue-blind)
#772A49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74167b;
/* rgb */ color: rgb(116, 22, 123);
/* oklch */ color: oklch(40.8% 0.171 324.9);
Tailwind
colors: {
  custom: {
    50: '#a061a2',
    500: '#74167b',
    950: '#000000',
  },
}
SCSS
$custom: #74167b;
$custom-light: #a061a2;
$custom-dark: #000000;
JSON
{
  "hex": "#74167b",
  "rgb": {
    "r": 116,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 295.842,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40796,
    "c": 0.17096,
    "h": 324.9
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#74167B
secondary
#45B03D
accent
#EC3B48
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #74167B

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

Preview Lab → · Contrast checker → · Palette generator →

#74167B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva