#742174#742174

#742174 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.153 H 327.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#742174
RGBrgb(116, 33, 116)
HSLhsl(300, 56%, 29%)
HSVhsv(300, 72%, 45%)
CMYKcmyk(0%, 71.6%, 0%, 54.5%)
CIE-LABlab(29.57, 46.49, -29.37)
CIE-LCHlch(29.57, 54.99, 327.72°)
OKLaboklab(41.29% 0.1296 -0.0813)
OKLCHoklch(41.29% 0.153 327.9)
XYZxyz(10.8986, 6.0624, 17.1157)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742174 #217421
analogous
#4B2174 #742174 #74214B
triadic
#742174 #747421 #217474
tetradic
#742174 #744B21 #217421 #214B74
square
#742174 #744B21 #217421 #214B74
split-complementary
#742174 #4B7421 #21744B
monochromatic
#180718 #441344 #742174 #A42FA4 #CA45CA

Accessibility & contrast

On white

9.49
#742174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#742174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742174
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742174#FFFFFF#000000##FFFFFF
##7421741.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143F76
Deuteranopia (green-blind)
#364972
Tritanopia (blue-blind)
#782D48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #742174;
/* rgb */ color: rgb(116, 33, 116);
/* oklch */ color: oklch(41.3% 0.153 327.9);
Tailwind
colors: {
  custom: {
    50: '#9f659c',
    500: '#742174',
    950: '#000000',
  },
}
SCSS
$custom: #742174;
$custom-light: #9f659c;
$custom-dark: #000000;
JSON
{
  "hex": "#742174",
  "rgb": {
    "r": 116,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 300,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41286,
    "c": 0.15301,
    "h": 327.9
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#742174
secondary
#49A749
accent
#DF4949
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #742174

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

Preview Lab → · Contrast checker → · Palette generator →

#742174 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva