#742E88#742E88

#742E88 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.154 H 318.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#742E88
RGBrgb(116, 46, 136)
HSLhsl(287, 49%, 36%)
HSVhsv(287, 66%, 53%)
CMYKcmyk(14.7%, 66.2%, 0%, 46.7%)
CIE-LABlab(32.80, 44.76, -36.78)
CIE-LCHlch(32.80, 57.93, 320.59°)
OKLaboklab(44% 0.1143 -0.1029)
OKLCHoklch(44% 0.154 318)
XYZxyz(12.6228, 7.4451, 24.0599)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E88 #42882E
analogous
#472E88 #742E88 #882E6F
triadic
#742E88 #88742E #2E8874
tetradic
#742E88 #88472E #42882E #2E6F88
square
#742E88 #88472E #42882E #2E6F88
split-complementary
#742E88 #6F882E #2E8847
monochromatic
#260F2D #4D1F5A #742E88 #9B3DB6 #B465CB

Accessibility & contrast

On white

8.44
#742E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#742E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E88
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E88#FFFFFF#000000##FFFFFF
##742E881.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498B
Deuteranopia (green-blind)
#324F86
Tritanopia (blue-blind)
#743E57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #742e88;
/* rgb */ color: rgb(116, 46, 136);
/* oklch */ color: oklch(44.0% 0.154 318.0);
Tailwind
colors: {
  custom: {
    50: '#9f6cab',
    500: '#742e88',
    950: '#000000',
  },
}
SCSS
$custom: #742e88;
$custom-light: #9f6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#742e88",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 286.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44002,
    "c": 0.15381,
    "h": 318
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#742E88
secondary
#72B260
accent
#D94F6E
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #742E88

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

Preview Lab → · Contrast checker → · Palette generator →

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