#742E72#742E72

#742E72 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.7% C 0.132 H 328.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#742E72
RGBrgb(116, 46, 114)
HSLhsl(302, 43%, 32%)
HSVhsv(302, 60%, 45%)
CMYKcmyk(0%, 60.3%, 1.7%, 54.5%)
CIE-LABlab(31.54, 40.35, -25.00)
CIE-LCHlch(31.54, 47.46, 328.22°)
OKLaboklab(42.68% 0.1131 -0.0687)
OKLCHoklch(42.68% 0.132 328.7)
XYZxyz(11.2166, 6.8826, 16.6540)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E72 #2E7430
analogous
#532E74 #742E72 #742E4F
triadic
#742E72 #72742E #2E7274
tetradic
#742E72 #74532E #2E7430 #2E4F74
square
#742E72 #74532E #2E7430 #2E4F74
split-complementary
#742E72 #4F742E #2E7453
monochromatic
#1C0B1C #481D47 #742E72 #A03F9D #BF5DBC

Accessibility & contrast

On white

8.84
#742E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#742E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E72
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E72#FFFFFF#000000##FFFFFF
##742E721.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284474
Deuteranopia (green-blind)
#3F4E70
Tritanopia (blue-blind)
#78364B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #742e72;
/* rgb */ color: rgb(116, 46, 114);
/* oklch */ color: oklch(42.7% 0.132 328.7);
Tailwind
colors: {
  custom: {
    50: '#9e6b9b',
    500: '#742e72',
    950: '#000000',
  },
}
SCSS
$custom: #742e72;
$custom-light: #9e6b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#742e72",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 301.714,
    "s": 43.21,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.13238,
    "h": 328.7
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#742E72
secondary
#59A55B
accent
#D35855
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F070E
muted
#7E7A7E

Preview Lab

Preview with #742E72

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

Preview Lab → · Contrast checker → · Palette generator →

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