#74117E#74117E

#74117E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.7% C 0.178 H 323.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#74117E
RGBrgb(116, 17, 126)
HSLhsl(294, 76%, 28%)
HSVhsv(294, 87%, 49%)
CMYKcmyk(7.9%, 86.5%, 0%, 50.6%)
CIE-LABlab(28.44, 53.37, -37.51)
CIE-LCHlch(28.44, 65.23, 324.90°)
OKLaboklab(40.68% 0.1432 -0.1049)
OKLCHoklch(40.68% 0.178 323.8)
XYZxyz(11.1685, 5.6210, 20.2313)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74117E #1B7E11
analogous
#3D117E #74117E #7E1152
triadic
#74117E #7E7411 #117E74
tetradic
#74117E #7E3D11 #1B7E11 #11527E
square
#74117E #7E3D11 #1B7E11 #11527E
split-complementary
#74117E #527E11 #117E3D
monochromatic
#19041B #420A48 #74117E #A618B4 #D127E2

Accessibility & contrast

On white

9.89
#74117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#74117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74117E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74117E#FFFFFF#000000##FFFFFF
##74117E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#28477C
Tritanopia (blue-blind)
#76294A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #74117e;
/* rgb */ color: rgb(116, 17, 126);
/* oklch */ color: oklch(40.7% 0.178 323.8);
Tailwind
colors: {
  custom: {
    50: '#a05fa4',
    500: '#74117e',
    950: '#000000',
  },
}
SCSS
$custom: #74117e;
$custom-light: #a05fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#74117e",
  "rgb": {
    "r": 116,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 294.495,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40681,
    "c": 0.17754,
    "h": 323.8
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#74117E
secondary
#42B437
accent
#F33546
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #74117E

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

Preview Lab → · Contrast checker → · Palette generator →

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