#742B97#742B97

#742B97 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.173 H 312.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#742B97
RGBrgb(116, 43, 151)
HSLhsl(281, 56%, 38%)
HSVhsv(281, 72%, 59%)
CMYKcmyk(23.2%, 71.5%, 0%, 40.8%)
CIE-LABlab(33.30, 49.36, -45.20)
CIE-LCHlch(33.30, 66.92, 317.52°)
OKLaboklab(44.68% 0.1168 -0.1276)
OKLCHoklch(44.68% 0.173 312.5)
XYZxyz(13.6512, 7.6755, 30.0346)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742B97 #4E972B
analogous
#3E2B97 #742B97 #972B84
triadic
#742B97 #97742B #2B9774
tetradic
#742B97 #973E2B #4E972B #2B8497
square
#742B97 #973E2B #4E972B #2B8497
split-complementary
#742B97 #84972B #2B973E
monochromatic
#2B1038 #4F1D67 #742B97 #9939C7 #B168D4

Accessibility & contrast

On white

8.28
#742B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#742B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742B97
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742B97#FFFFFF#000000##FFFFFF
##742B971.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#205095
Tritanopia (blue-blind)
#70425E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #742b97;
/* rgb */ color: rgb(116, 43, 151);
/* oklch */ color: oklch(44.7% 0.173 312.5);
Tailwind
colors: {
  custom: {
    50: '#a06bb6',
    500: '#742b97',
    950: '#000000',
  },
}
SCSS
$custom: #742b97;
$custom-light: #a06bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#742b97",
  "rgb": {
    "r": 116,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 280.556,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44675,
    "c": 0.17297,
    "h": 312.5
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#742B97
secondary
#80BB63
accent
#DF4979
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742B97

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

Preview Lab → · Contrast checker → · Palette generator →

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