#742098#742098

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

Color values

HEX#742098
RGBrgb(116, 32, 152)
HSLhsl(282, 65%, 36%)
HSVhsv(282, 79%, 60%)
CMYKcmyk(23.7%, 78.9%, 0%, 40.4%)
CIE-LABlab(31.84, 53.94, -48.17)
CIE-LCHlch(31.84, 72.32, 318.24°)
OKLaboklab(43.66% 0.1274 -0.1362)
OKLCHoklch(43.66% 0.187 313.1)
XYZxyz(13.3855, 7.0134, 30.3483)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742098 #449820
analogous
#382098 #742098 #982080
triadic
#742098 #987420 #209874
tetradic
#742098 #983820 #449820 #208098
square
#742098 #983820 #449820 #208098
split-complementary
#742098 #809820 #209838
monochromatic
#270B33 #4D1565 #742098 #9B2BCB #B457DC

Accessibility & contrast

On white

8.74
#742098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742098
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742098#FFFFFF#000000##FFFFFF
##7420981.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#104D96
Tritanopia (blue-blind)
#703D5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #742098;
/* rgb */ color: rgb(116, 32, 152);
/* oklch */ color: oklch(43.7% 0.187 313.1);
Tailwind
colors: {
  custom: {
    50: '#a066b7',
    500: '#742098',
    950: '#000000',
  },
}
SCSS
$custom: #742098;
$custom-light: #a066b7;
$custom-dark: #000000;
JSON
{
  "hex": "#742098",
  "rgb": {
    "r": 116,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 282,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43664,
    "c": 0.18651,
    "h": 313.1
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#742098
secondary
#75BF54
accent
#E84072
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #742098

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

Preview Lab → · Contrast checker → · Palette generator →

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