#742371#742371

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

Color values

HEX#742371
RGBrgb(116, 35, 113)
HSLhsl(302, 54%, 30%)
HSVhsv(302, 70%, 45%)
CMYKcmyk(0%, 69.8%, 2.6%, 54.5%)
CIE-LABlab(29.68, 45.14, -27.28)
CIE-LCHlch(29.68, 52.75, 328.86°)
OKLaboklab(41.31% 0.1272 -0.0752)
OKLCHoklch(41.31% 0.148 329.4)
XYZxyz(10.7840, 6.1081, 16.2306)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742371 #237426
analogous
#4F2374 #742371 #742349
triadic
#742371 #717423 #237174
tetradic
#742371 #744F23 #237426 #234974
square
#742371 #744F23 #237426 #234974
split-complementary
#742371 #497423 #23744F
monochromatic
#180717 #451543 #742371 #A3319F #C849C3

Accessibility & contrast

On white

9.45
#742371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#742371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742371
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742371#FFFFFF#000000##FFFFFF
##7423711.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F73
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#782D47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #742371;
/* rgb */ color: rgb(116, 35, 113);
/* oklch */ color: oklch(41.3% 0.148 329.4);
Tailwind
colors: {
  custom: {
    50: '#9f659a',
    500: '#742371',
    950: '#000000',
  },
}
SCSS
$custom: #742371;
$custom-light: #9f659a;
$custom-dark: #000000;
JSON
{
  "hex": "#742371",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 302.222,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41313,
    "c": 0.14781,
    "h": 329.4
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#742371
secondary
#4CA74F
accent
#DD504B
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #742371

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

Preview Lab → · Contrast checker → · Palette generator →

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