#742E96#742E96

#742E96 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.168 H 312.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#742E96
RGBrgb(116, 46, 150)
HSLhsl(280, 53%, 38%)
HSVhsv(280, 69%, 59%)
CMYKcmyk(22.7%, 69.3%, 0%, 41.2%)
CIE-LABlab(33.71, 47.79, -43.92)
CIE-LCHlch(33.71, 64.91, 317.41°)
OKLaboklab(44.95% 0.1136 -0.1239)
OKLCHoklch(44.95% 0.168 312.5)
XYZxyz(13.6835, 7.8694, 29.6464)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E96 #50962E
analogous
#402E96 #742E96 #962E84
triadic
#742E96 #96742E #2E9674
tetradic
#742E96 #96402E #50962E #2E8496
square
#742E96 #96402E #50962E #2E8496
split-complementary
#742E96 #84962E #2E9640
monochromatic
#2C1138 #502067 #742E96 #983EC4 #B16CD2

Accessibility & contrast

On white

8.16
#742E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#742E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E96
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E96#FFFFFF#000000##FFFFFF
##742E961.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#255194
Tritanopia (blue-blind)
#70435E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #742e96;
/* rgb */ color: rgb(116, 46, 150);
/* oklch */ color: oklch(44.9% 0.168 312.5);
Tailwind
colors: {
  custom: {
    50: '#9f6cb5',
    500: '#742e96',
    950: '#000000',
  },
}
SCSS
$custom: #742e96;
$custom-light: #9f6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#742e96",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 280.385,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44948,
    "c": 0.16805,
    "h": 312.5
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#742E96
secondary
#82B967
accent
#DC4B7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742E96

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

Preview Lab → · Contrast checker → · Palette generator →

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