#742998#742998

#742998 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.176 H 312.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#742998
RGBrgb(116, 41, 152)
HSLhsl(281, 58%, 38%)
HSVhsv(281, 73%, 60%)
CMYKcmyk(23.7%, 73%, 0%, 40.4%)
CIE-LABlab(33.06, 50.44, -46.18)
CIE-LCHlch(33.06, 68.39, 317.52°)
OKLaboklab(44.53% 0.1188 -0.1305)
OKLCHoklch(44.53% 0.176 312.3)
XYZxyz(13.6619, 7.5663, 30.4404)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742998 #4D9829
analogous
#3D2998 #742998 #982984
triadic
#742998 #987429 #299874
tetradic
#742998 #983D29 #4D9829 #298498
square
#742998 #983D29 #4D9829 #298498
split-complementary
#742998 #849829 #29983D
monochromatic
#2A0F38 #4F1C68 #742998 #9936C8 #B166D6

Accessibility & contrast

On white

8.36
#742998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742998
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742998#FFFFFF#000000##FFFFFF
##7429981.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#1C4F96
Tritanopia (blue-blind)
#70415E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #742998;
/* rgb */ color: rgb(116, 41, 152);
/* oklch */ color: oklch(44.5% 0.176 312.3);
Tailwind
colors: {
  custom: {
    50: '#a06ab7',
    500: '#742998',
    950: '#000000',
  },
}
SCSS
$custom: #742998;
$custom-light: #a06ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#742998",
  "rgb": {
    "r": 116,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 280.541,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4453,
    "c": 0.17645,
    "h": 312.3
  },
  "luminance": 0.07566
}

Semantic roles & 50–950 ramp

primary
#742998
secondary
#7EBC61
accent
#E14779
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742998

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

Preview Lab → · Contrast checker → · Palette generator →

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