#742997#742997

#742997 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.175 H 312.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#742997
RGBrgb(116, 41, 151)
HSLhsl(281, 57%, 38%)
HSVhsv(281, 73%, 59%)
CMYKcmyk(23.2%, 72.8%, 0%, 40.8%)
CIE-LABlab(32.99, 50.22, -45.69)
CIE-LCHlch(32.99, 67.89, 317.71°)
OKLaboklab(44.46% 0.1189 -0.129)
OKLCHoklch(44.46% 0.175 312.7)
XYZxyz(13.5803, 7.5336, 30.0109)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742997 #4C9729
analogous
#3D2997 #742997 #972983
triadic
#742997 #977429 #299774
tetradic
#742997 #973D29 #4C9729 #298397
square
#742997 #973D29 #4C9729 #298397
split-complementary
#742997 #839729 #29973D
monochromatic
#2A0F37 #4F1C67 #742997 #9936C7 #B265D5

Accessibility & contrast

On white

8.38
#742997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#742997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742997
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742997#FFFFFF#000000##FFFFFF
##7429971.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#1E4F95
Tritanopia (blue-blind)
#70415D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #742997;
/* rgb */ color: rgb(116, 41, 151);
/* oklch */ color: oklch(44.5% 0.175 312.7);
Tailwind
colors: {
  custom: {
    50: '#a06ab6',
    500: '#742997',
    950: '#000000',
  },
}
SCSS
$custom: #742997;
$custom-light: #a06ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#742997",
  "rgb": {
    "r": 116,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 280.909,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44458,
    "c": 0.17547,
    "h": 312.7
  },
  "luminance": 0.07533
}

Semantic roles & 50–950 ramp

primary
#742997
secondary
#7DBB61
accent
#E14778
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742997

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

Preview Lab → · Contrast checker → · Palette generator →

#742997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva