#742E79#742E79

#742E79 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.139 H 325.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#742E79
RGBrgb(116, 46, 121)
HSLhsl(296, 45%, 33%)
HSVhsv(296, 62%, 47%)
CMYKcmyk(4.1%, 62%, 0%, 52.5%)
CIE-LABlab(31.92, 41.70, -28.82)
CIE-LCHlch(31.92, 50.69, 325.35°)
OKLaboklab(43.08% 0.1138 -0.0798)
OKLCHoklch(43.08% 0.139 325)
XYZxyz(11.6304, 7.0481, 18.8333)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E79 #33792E
analogous
#4E2E79 #742E79 #792E58
triadic
#742E79 #79742E #2E7974
tetradic
#742E79 #794E2E #33792E #2E5879
square
#742E79 #794E2E #33792E #2E5879
split-complementary
#742E79 #58792E #2E794E
monochromatic
#1F0C20 #491D4D #742E79 #9F3FA5 #BC5FC2

Accessibility & contrast

On white

8.72
#742E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#742E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E79
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E79#FFFFFF#000000##FFFFFF
##742E791.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467B
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#77384F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #742e79;
/* rgb */ color: rgb(116, 46, 121);
/* oklch */ color: oklch(43.1% 0.139 325.0);
Tailwind
colors: {
  custom: {
    50: '#9e6ba0',
    500: '#742e79',
    950: '#000000',
  },
}
SCSS
$custom: #742e79;
$custom-light: #9e6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#742e79",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 296,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43076,
    "c": 0.139,
    "h": 325
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#742E79
secondary
#5FA95A
accent
#D5535C
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #742E79

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

Preview Lab → · Contrast checker → · Palette generator →

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