#742E7D#742E7D

#742E7D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.143 H 323.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#742E7D
RGBrgb(116, 46, 125)
HSLhsl(293, 46%, 34%)
HSVhsv(293, 63%, 49%)
CMYKcmyk(7.2%, 63.2%, 0%, 51%)
CIE-LABlab(32.14, 42.49, -30.97)
CIE-LCHlch(32.14, 52.58, 323.91°)
OKLaboklab(43.31% 0.1141 -0.086)
OKLCHoklch(43.31% 0.143 323)
XYZxyz(11.8808, 7.1483, 20.1520)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E7D #377D2E
analogous
#4C2E7D #742E7D #7D2E5E
triadic
#742E7D #7D742E #2E7D74
tetradic
#742E7D #7D4C2E #377D2E #2E5E7D
square
#742E7D #7D4C2E #377D2E #2E5E7D
split-complementary
#742E7D #5E7D2E #2E7D4C
monochromatic
#210D24 #4A1E50 #742E7D #9E3EAA #B961C5

Accessibility & contrast

On white

8.64
#742E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742E7D
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E7D#FFFFFF#000000##FFFFFF
##742E7D1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467F
Deuteranopia (green-blind)
#394E7B
Tritanopia (blue-blind)
#763A51
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #742e7d;
/* rgb */ color: rgb(116, 46, 125);
/* oklch */ color: oklch(43.3% 0.143 323.0);
Tailwind
colors: {
  custom: {
    50: '#9e6ca3',
    500: '#742e7d',
    950: '#000000',
  },
}
SCSS
$custom: #742e7d;
$custom-light: #9e6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#742e7d",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 293.165,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43314,
    "c": 0.14288,
    "h": 323
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#742E7D
secondary
#65AB5B
accent
#D65261
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #742E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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