#74217C#74217C

#74217C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.160 H 324.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#74217C
RGBrgb(116, 33, 124)
HSLhsl(295, 58%, 31%)
HSVhsv(295, 73%, 49%)
CMYKcmyk(6.5%, 73.4%, 0%, 51.4%)
CIE-LABlab(30.05, 47.97, -33.67)
CIE-LCHlch(30.05, 58.61, 324.94°)
OKLaboklab(41.79% 0.1296 -0.0938)
OKLCHoklch(41.79% 0.16 324.1)
XYZxyz(11.3841, 6.2566, 19.6729)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74217C #297C21
analogous
#46217C #74217C #7C2156
triadic
#74217C #7C7421 #217C74
tetradic
#74217C #7C4621 #297C21 #21567C
square
#74217C #7C4621 #297C21 #21567C
split-complementary
#74217C #567C21 #217C46
monochromatic
#1A071B #47144C #74217C #A12EAC #C349CF

Accessibility & contrast

On white

9.33
#74217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#74217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74217C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74217C#FFFFFF#000000##FFFFFF
##74217C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407F
Deuteranopia (green-blind)
#314A7A
Tritanopia (blue-blind)
#76314C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74217c;
/* rgb */ color: rgb(116, 33, 124);
/* oklch */ color: oklch(41.8% 0.160 324.1);
Tailwind
colors: {
  custom: {
    50: '#9f65a2',
    500: '#74217c',
    950: '#000000',
  },
}
SCSS
$custom: #74217c;
$custom-light: #9f65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#74217c",
  "rgb": {
    "r": 116,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 294.725,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41787,
    "c": 0.15999,
    "h": 324.1
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#74217C
secondary
#53AF4A
accent
#E14754
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74217C

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

Preview Lab → · Contrast checker → · Palette generator →

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