#74217F#74217F

#74217F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.163 H 322.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#74217F
RGBrgb(116, 33, 127)
HSLhsl(293, 59%, 31%)
HSVhsv(293, 74%, 50%)
CMYKcmyk(8.7%, 74%, 0%, 50.2%)
CIE-LABlab(30.24, 48.54, -35.25)
CIE-LCHlch(30.24, 59.99, 324.01°)
OKLaboklab(41.98% 0.1295 -0.0984)
OKLCHoklch(41.98% 0.163 322.8)
XYZxyz(11.5767, 6.3337, 20.6873)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74217F #2C7F21
analogous
#45217F #74217F #7F215B
triadic
#74217F #7F7421 #217F74
tetradic
#74217F #7F4521 #2C7F21 #215B7F
square
#74217F #7F4521 #2C7F21 #215B7F
split-complementary
#74217F #5B7F21 #217F45
monochromatic
#1B081E #48144E #74217F #A02EB0 #C04AD0

Accessibility & contrast

On white

9.26
#74217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#74217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74217F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74217F#FFFFFF#000000##FFFFFF
##74217F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#76324E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74217f;
/* rgb */ color: rgb(116, 33, 127);
/* oklch */ color: oklch(42.0% 0.163 322.8);
Tailwind
colors: {
  custom: {
    50: '#9f65a4',
    500: '#74217f',
    950: '#000000',
  },
}
SCSS
$custom: #74217f;
$custom-light: #9f65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74217f",
  "rgb": {
    "r": 116,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 292.979,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.16265,
    "h": 322.8
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#74217F
secondary
#56B24A
accent
#E24658
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74217F

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

Preview Lab → · Contrast checker → · Palette generator →

#74217F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva