#74177B#74177B

#74177B is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.170 H 324.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#74177B
RGBrgb(116, 23, 123)
HSLhsl(296, 68%, 29%)
HSVhsv(296, 81%, 48%)
CMYKcmyk(5.7%, 81.3%, 0%, 51.8%)
CIE-LABlab(28.79, 51.22, -35.05)
CIE-LCHlch(28.79, 62.06, 325.62°)
OKLaboklab(40.87% 0.1391 -0.0977)
OKLCHoklch(40.87% 0.17 324.9)
XYZxyz(11.0837, 5.7566, 19.2624)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74177B #1E7B17
analogous
#42177B #74177B #7B1750
triadic
#74177B #7B7417 #177B74
tetradic
#74177B #7B4217 #1E7B17 #17507B
square
#74177B #7B4217 #1E7B17 #17507B
split-complementary
#74177B #507B17 #177B42
monochromatic
#18051A #430D47 #74177B #A521AF #CD33D9

Accessibility & contrast

On white

9.76
#74177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#74177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74177B
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74177B#FFFFFF#000000##FFFFFF
##74177B1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #74177b;
/* rgb */ color: rgb(116, 23, 123);
/* oklch */ color: oklch(40.9% 0.170 324.9);
Tailwind
colors: {
  custom: {
    50: '#a061a2',
    500: '#74177b',
    950: '#000000',
  },
}
SCSS
$custom: #74177b;
$custom-light: #a061a2;
$custom-dark: #000000;
JSON
{
  "hex": "#74177b",
  "rgb": {
    "r": 116,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 295.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40868,
    "c": 0.17003,
    "h": 324.9
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#74177B
secondary
#46B03E
accent
#EB3C49
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #74177B

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

Preview Lab → · Contrast checker → · Palette generator →

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