#742197#742197

#742197 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.185 H 313.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#742197
RGBrgb(116, 33, 151)
HSLhsl(282, 64%, 36%)
HSVhsv(282, 78%, 59%)
CMYKcmyk(23.2%, 78.1%, 0%, 40.8%)
CIE-LABlab(31.89, 53.37, -47.47)
CIE-LCHlch(31.89, 71.43, 318.35°)
OKLaboklab(43.68% 0.1267 -0.1342)
OKLCHoklch(43.68% 0.185 313.3)
XYZxyz(13.3312, 7.0355, 29.9279)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742197 #449721
analogous
#392197 #742197 #97217F
triadic
#742197 #977421 #219774
tetradic
#742197 #973921 #449721 #217F97
square
#742197 #973921 #449721 #217F97
split-complementary
#742197 #7F9721 #219739
monochromatic
#270B33 #4D1665 #742197 #9B2CC9 #B458DA

Accessibility & contrast

On white

8.72
#742197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#742197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742197
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742197#FFFFFF#000000##FFFFFF
##7421971.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #742197;
/* rgb */ color: rgb(116, 33, 151);
/* oklch */ color: oklch(43.7% 0.185 313.3);
Tailwind
colors: {
  custom: {
    50: '#a066b6',
    500: '#742197',
    950: '#000000',
  },
}
SCSS
$custom: #742197;
$custom-light: #a066b6;
$custom-dark: #000000;
JSON
{
  "hex": "#742197",
  "rgb": {
    "r": 116,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 282.203,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43676,
    "c": 0.18455,
    "h": 313.3
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#742197
secondary
#75BE55
accent
#E74172
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #742197

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

Preview Lab → · Contrast checker → · Palette generator →

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