#742E95#742E95

#742E95 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.167 H 312.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#742E95
RGBrgb(116, 46, 149)
HSLhsl(281, 53%, 38%)
HSVhsv(281, 69%, 58%)
CMYKcmyk(22.1%, 69.1%, 0%, 41.6%)
CIE-LABlab(33.64, 47.57, -43.42)
CIE-LCHlch(33.64, 64.41, 317.61°)
OKLaboklab(44.88% 0.1136 -0.1224)
OKLCHoklch(44.88% 0.167 312.9)
XYZxyz(13.6033, 7.8373, 29.2241)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E95 #4F952E
analogous
#402E95 #742E95 #952E82
triadic
#742E95 #95742E #2E9574
tetradic
#742E95 #95402E #4F952E #2E8295
square
#742E95 #95402E #4F952E #2E8295
split-complementary
#742E95 #82952E #2E9540
monochromatic
#2B1137 #502066 #742E95 #983DC3 #B16CD2

Accessibility & contrast

On white

8.18
#742E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742E95
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E95#FFFFFF#000000##FFFFFF
##742E951.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #742e95;
/* rgb */ color: rgb(116, 46, 149);
/* oklch */ color: oklch(44.9% 0.167 312.9);
Tailwind
colors: {
  custom: {
    50: '#9f6cb5',
    500: '#742e95',
    950: '#000000',
  },
}
SCSS
$custom: #742e95;
$custom-light: #9f6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#742e95",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 280.777,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44878,
    "c": 0.16702,
    "h": 312.9
  },
  "luminance": 0.07837
}

Semantic roles & 50–950 ramp

primary
#742E95
secondary
#81B966
accent
#DC4C7A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742E95

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

Preview Lab → · Contrast checker → · Palette generator →

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