#742E7E#742E7E

#742E7E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.144 H 322.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#742E7E
RGBrgb(116, 46, 126)
HSLhsl(293, 47%, 34%)
HSVhsv(293, 63%, 49%)
CMYKcmyk(7.9%, 63.5%, 0%, 50.6%)
CIE-LABlab(32.20, 42.69, -31.51)
CIE-LCHlch(32.20, 53.06, 323.57°)
OKLaboklab(43.37% 0.1141 -0.0876)
OKLCHoklch(43.37% 0.144 322.5)
XYZxyz(11.9450, 7.1740, 20.4902)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E7E #387E2E
analogous
#4C2E7E #742E7E #7E2E60
triadic
#742E7E #7E742E #2E7E74
tetradic
#742E7E #7E4C2E #387E2E #2E607E
square
#742E7E #7E4C2E #387E2E #2E607E
split-complementary
#742E7E #607E2E #2E7E4C
monochromatic
#210D24 #4B1E51 #742E7E #9D3EAB #B961C5

Accessibility & contrast

On white

8.63
#742E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#742E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E7E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E7E#FFFFFF#000000##FFFFFF
##742E7E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4780
Deuteranopia (green-blind)
#384E7C
Tritanopia (blue-blind)
#763A51
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #742e7e;
/* rgb */ color: rgb(116, 46, 126);
/* oklch */ color: oklch(43.4% 0.144 322.5);
Tailwind
colors: {
  custom: {
    50: '#9e6ca4',
    500: '#742e7e',
    950: '#000000',
  },
}
SCSS
$custom: #742e7e;
$custom-light: #9e6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#742e7e",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 292.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43374,
    "c": 0.14386,
    "h": 322.5
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#742E7E
secondary
#66AC5C
accent
#D65262
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #742E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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