#742897#742897

#742897 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.177 H 312.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#742897
RGBrgb(116, 40, 151)
HSLhsl(281, 58%, 37%)
HSVhsv(281, 74%, 59%)
CMYKcmyk(23.2%, 73.5%, 0%, 40.8%)
CIE-LABlab(32.84, 50.64, -45.93)
CIE-LCHlch(32.84, 68.37, 317.79°)
OKLaboklab(44.35% 0.1199 -0.1297)
OKLCHoklch(44.35% 0.177 312.8)
XYZxyz(13.5462, 7.4654, 29.9995)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742897 #4B9728
analogous
#3C2897 #742897 #972883
triadic
#742897 #977428 #289774
tetradic
#742897 #973C28 #4B9728 #288397
square
#742897 #973C28 #4B9728 #288397
split-complementary
#742897 #839728 #28973C
monochromatic
#2A0E36 #4F1B67 #742897 #9935C7 #B264D6

Accessibility & contrast

On white

8.42
#742897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#742897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742897
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742897#FFFFFF#000000##FFFFFF
##7428971.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#1C4F95
Tritanopia (blue-blind)
#70405D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #742897;
/* rgb */ color: rgb(116, 40, 151);
/* oklch */ color: oklch(44.4% 0.177 312.8);
Tailwind
colors: {
  custom: {
    50: '#a069b6',
    500: '#742897',
    950: '#000000',
  },
}
SCSS
$custom: #742897;
$custom-light: #a069b6;
$custom-dark: #000000;
JSON
{
  "hex": "#742897",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 281.081,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44352,
    "c": 0.17668,
    "h": 312.8
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#742897
secondary
#7CBC5F
accent
#E14677
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742897

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

Preview Lab → · Contrast checker → · Palette generator →

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