#742E86#742E86

#742E86 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.152 H 318.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#742E86
RGBrgb(116, 46, 134)
HSLhsl(288, 49%, 35%)
HSVhsv(288, 66%, 53%)
CMYKcmyk(13.4%, 65.7%, 0%, 47.5%)
CIE-LABlab(32.68, 44.34, -35.73)
CIE-LCHlch(32.68, 56.94, 321.13°)
OKLaboklab(43.87% 0.1143 -0.0999)
OKLCHoklch(43.87% 0.152 318.8)
XYZxyz(12.4820, 7.3888, 23.3183)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E86 #40862E
analogous
#482E86 #742E86 #862E6C
triadic
#742E86 #86742E #2E8674
tetradic
#742E86 #86482E #40862E #2E6C86
square
#742E86 #86482E #40862E #2E6C86
split-complementary
#742E86 #6C862E #2E8648
monochromatic
#250F2B #4D1E58 #742E86 #9B3EB4 #B564CA

Accessibility & contrast

On white

8.48
#742E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#742E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E86
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E86#FFFFFF#000000##FFFFFF
##742E861.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134889
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#743D56
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #742e86;
/* rgb */ color: rgb(116, 46, 134);
/* oklch */ color: oklch(43.9% 0.152 318.8);
Tailwind
colors: {
  custom: {
    50: '#9f6caa',
    500: '#742e86',
    950: '#000000',
  },
}
SCSS
$custom: #742e86;
$custom-light: #9f6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#742e86",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 287.727,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43873,
    "c": 0.1518,
    "h": 318.8
  },
  "luminance": 0.07388
}

Semantic roles & 50–950 ramp

primary
#742E86
secondary
#70B15F
accent
#D84F6B
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #742E86

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

Preview Lab → · Contrast checker → · Palette generator →

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