#742E71#742E71

#742E71 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.6% C 0.131 H 329.3°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#742E71
RGBrgb(116, 46, 113)
HSLhsl(303, 43%, 32%)
HSVhsv(303, 60%, 45%)
CMYKcmyk(0%, 60.3%, 2.6%, 54.5%)
CIE-LABlab(31.49, 40.16, -24.44)
CIE-LCHlch(31.49, 47.01, 328.67°)
OKLaboklab(42.62% 0.113 -0.0672)
OKLCHoklch(42.62% 0.131 329.3)
XYZxyz(11.1600, 6.8600, 16.3559)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E71 #2E7431
analogous
#542E74 #742E71 #742E4E
triadic
#742E71 #71742E #2E7174
tetradic
#742E71 #74542E #2E7431 #2E4E74
square
#742E71 #74542E #2E7431 #2E4E74
split-complementary
#742E71 #4E742E #2E7454
monochromatic
#1C0B1C #481D46 #742E71 #A03F9C #BF5DBB

Accessibility & contrast

On white

8.85
#742E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#742E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E71
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E71#FFFFFF#000000##FFFFFF
##742E711.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#3F4D6F
Tritanopia (blue-blind)
#78354B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #742e71;
/* rgb */ color: rgb(116, 46, 113);
/* oklch */ color: oklch(42.6% 0.131 329.3);
Tailwind
colors: {
  custom: {
    50: '#9e6b9a',
    500: '#742e71',
    950: '#000000',
  },
}
SCSS
$custom: #742e71;
$custom-light: #9e6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#742e71",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 302.571,
    "s": 43.21,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.13145,
    "h": 329.3
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#742E71
secondary
#59A55C
accent
#D35A55
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F070E
muted
#7E7A7E

Preview Lab

Preview with #742E71

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

Preview Lab → · Contrast checker → · Palette generator →

#742E71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva