#742C97#742C97

#742C97 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.172 H 312.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#742C97
RGBrgb(116, 44, 151)
HSLhsl(280, 55%, 38%)
HSVhsv(280, 71%, 59%)
CMYKcmyk(23.2%, 70.9%, 0%, 40.8%)
CIE-LABlab(33.45, 48.91, -44.94)
CIE-LCHlch(33.45, 66.43, 317.42°)
OKLaboklab(44.79% 0.1157 -0.1269)
OKLCHoklch(44.79% 0.172 312.4)
XYZxyz(13.6880, 7.7491, 30.0468)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742C97 #4F972C
analogous
#3E2C97 #742C97 #972C84
triadic
#742C97 #97742C #2C9774
tetradic
#742C97 #973E2C #4F972C #2C8497
square
#742C97 #973E2C #4F972C #2C8497
split-complementary
#742C97 #84972C #2C973E
monochromatic
#2B1038 #501E68 #742C97 #983AC6 #B16AD4

Accessibility & contrast

On white

8.24
#742C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#742C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742C97
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742C97#FFFFFF#000000##FFFFFF
##742C971.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #742c97;
/* rgb */ color: rgb(116, 44, 151);
/* oklch */ color: oklch(44.8% 0.172 312.4);
Tailwind
colors: {
  custom: {
    50: '#a06bb6',
    500: '#742c97',
    950: '#000000',
  },
}
SCSS
$custom: #742c97;
$custom-light: #a06bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#742c97",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 280.374,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44788,
    "c": 0.17169,
    "h": 312.4
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#742C97
secondary
#81BA65
accent
#DE4A7A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742C97

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

Preview Lab → · Contrast checker → · Palette generator →

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