#742D97#742D97

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

Color values

HEX#742D97
RGBrgb(116, 45, 151)
HSLhsl(280, 54%, 38%)
HSVhsv(280, 70%, 59%)
CMYKcmyk(23.2%, 70.2%, 0%, 40.8%)
CIE-LABlab(33.61, 48.47, -44.69)
CIE-LCHlch(33.61, 65.92, 317.32°)
OKLaboklab(44.9% 0.1146 -0.1261)
OKLCHoklch(44.9% 0.17 312.3)
XYZxyz(13.7257, 7.8245, 30.0594)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742D97 #50972D
analogous
#3F2D97 #742D97 #972D85
triadic
#742D97 #97742D #2D9774
tetradic
#742D97 #973F2D #50972D #2D8597
square
#742D97 #973F2D #50972D #2D8597
split-complementary
#742D97 #85972D #2D973F
monochromatic
#2C1139 #501F68 #742D97 #983CC5 #B16BD3

Accessibility & contrast

On white

8.19
#742D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#742D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742D97
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742D97#FFFFFF#000000##FFFFFF
##742D971.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #742d97;
/* rgb */ color: rgb(116, 45, 151);
/* oklch */ color: oklch(44.9% 0.170 312.3);
Tailwind
colors: {
  custom: {
    50: '#a06cb6',
    500: '#742d97',
    950: '#000000',
  },
}
SCSS
$custom: #742d97;
$custom-light: #a06cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#742d97",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 280.189,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44902,
    "c": 0.17039,
    "h": 312.3
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#742D97
secondary
#82BA66
accent
#DD4A7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742D97

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

Preview Lab → · Contrast checker → · Palette generator →

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