#742297#742297

#742297 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.183 H 313.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#742297
RGBrgb(116, 34, 151)
HSLhsl(282, 63%, 36%)
HSVhsv(282, 77%, 59%)
CMYKcmyk(23.2%, 77.5%, 0%, 40.8%)
CIE-LABlab(32.02, 53.01, -47.27)
CIE-LCHlch(32.02, 71.02, 318.28°)
OKLaboklab(43.77% 0.1258 -0.1336)
OKLCHoklch(43.77% 0.184 313.3)
XYZxyz(13.3594, 7.0918, 29.9373)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742297 #459722
analogous
#3A2297 #742297 #972280
triadic
#742297 #977422 #229774
tetradic
#742297 #973A22 #459722 #228097
square
#742297 #973A22 #459722 #228097
split-complementary
#742297 #809722 #22973A
monochromatic
#270C33 #4E1765 #742297 #9A2DC9 #B35ADA

Accessibility & contrast

On white

8.68
#742297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#742297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742297
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742297#FFFFFF#000000##FFFFFF
##7422971.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#154D95
Tritanopia (blue-blind)
#703D5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #742297;
/* rgb */ color: rgb(116, 34, 151);
/* oklch */ color: oklch(43.8% 0.183 313.3);
Tailwind
colors: {
  custom: {
    50: '#a067b6',
    500: '#742297',
    950: '#000000',
  },
}
SCSS
$custom: #742297;
$custom-light: #a067b6;
$custom-dark: #000000;
JSON
{
  "hex": "#742297",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 282.051,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43766,
    "c": 0.1835,
    "h": 313.3
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#742297
secondary
#76BE57
accent
#E64273
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #742297

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

Preview Lab → · Contrast checker → · Palette generator →

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