#742E7F#742E7F

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

Color values

HEX#742E7F
RGBrgb(116, 46, 127)
HSLhsl(292, 47%, 34%)
HSVhsv(292, 64%, 50%)
CMYKcmyk(8.7%, 63.8%, 0%, 50.2%)
CIE-LABlab(32.26, 42.89, -32.04)
CIE-LCHlch(32.26, 53.54, 323.24°)
OKLaboklab(43.44% 0.1142 -0.0891)
OKLCHoklch(43.44% 0.145 322)
XYZxyz(12.0098, 7.1999, 20.8317)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E7F #397F2E
analogous
#4C2E7F #742E7F #7F2E62
triadic
#742E7F #7F742E #2E7F74
tetradic
#742E7F #7F4C2E #397F2E #2E627F
square
#742E7F #7F4C2E #397F2E #2E627F
split-complementary
#742E7F #627F2E #2E7F4C
monochromatic
#220D25 #4B1E52 #742E7F #9D3EAC #B861C6

Accessibility & contrast

On white

8.61
#742E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#742E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E7F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E7F#FFFFFF#000000##FFFFFF
##742E7F1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4781
Deuteranopia (green-blind)
#384F7D
Tritanopia (blue-blind)
#753B52
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #742e7f;
/* rgb */ color: rgb(116, 46, 127);
/* oklch */ color: oklch(43.4% 0.145 322.0);
Tailwind
colors: {
  custom: {
    50: '#9e6ca4',
    500: '#742e7f',
    950: '#000000',
  },
}
SCSS
$custom: #742e7f;
$custom-light: #9e6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#742e7f",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 291.852,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43435,
    "c": 0.14484,
    "h": 322
  },
  "luminance": 0.07199
}

Semantic roles & 50–950 ramp

primary
#742E7F
secondary
#67AD5C
accent
#D65163
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #742E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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