#742097#742097

#742097 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.186 H 313.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#742097
RGBrgb(116, 32, 151)
HSLhsl(282, 65%, 36%)
HSVhsv(282, 79%, 59%)
CMYKcmyk(23.2%, 78.8%, 0%, 40.8%)
CIE-LABlab(31.76, 53.73, -47.67)
CIE-LCHlch(31.76, 71.83, 318.42°)
OKLaboklab(43.59% 0.1276 -0.1348)
OKLCHoklch(43.59% 0.186 313.4)
XYZxyz(13.3039, 6.9808, 29.9188)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742097 #439720
analogous
#382097 #742097 #97207E
triadic
#742097 #977420 #209774
tetradic
#742097 #973820 #439720 #207E97
square
#742097 #973820 #439720 #207E97
split-complementary
#742097 #7E9720 #209738
monochromatic
#260B32 #4D1564 #742097 #9B2BC9 #B456DB

Accessibility & contrast

On white

8.76
#742097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#742097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742097
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742097#FFFFFF#000000##FFFFFF
##7420971.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#124D95
Tritanopia (blue-blind)
#703C5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #742097;
/* rgb */ color: rgb(116, 32, 151);
/* oklch */ color: oklch(43.6% 0.186 313.4);
Tailwind
colors: {
  custom: {
    50: '#a066b6',
    500: '#742097',
    950: '#000000',
  },
}
SCSS
$custom: #742097;
$custom-light: #a066b6;
$custom-dark: #000000;
JSON
{
  "hex": "#742097",
  "rgb": {
    "r": 116,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 282.353,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43588,
    "c": 0.18559,
    "h": 313.4
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#742097
secondary
#73BF54
accent
#E84071
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #742097

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

Preview Lab → · Contrast checker → · Palette generator →

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