#742298#742298

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

Color values

HEX#742298
RGBrgb(116, 34, 152)
HSLhsl(282, 63%, 36%)
HSVhsv(282, 78%, 60%)
CMYKcmyk(23.7%, 77.6%, 0%, 40.4%)
CIE-LABlab(32.09, 53.22, -47.76)
CIE-LCHlch(32.09, 71.50, 318.09°)
OKLaboklab(43.84% 0.1256 -0.1351)
OKLCHoklch(43.84% 0.184 312.9)
XYZxyz(13.4410, 7.1245, 30.3668)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742298 #469822
analogous
#392298 #742298 #982281
triadic
#742298 #987422 #229874
tetradic
#742298 #983922 #469822 #228198
square
#742298 #983922 #469822 #228198
split-complementary
#742298 #819822 #229839
monochromatic
#280C34 #4E1766 #742298 #9A2DCA #B35ADA

Accessibility & contrast

On white

8.66
#742298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742298
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742298#FFFFFF#000000##FFFFFF
##7422981.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #742298;
/* rgb */ color: rgb(116, 34, 152);
/* oklch */ color: oklch(43.8% 0.184 312.9);
Tailwind
colors: {
  custom: {
    50: '#a067b7',
    500: '#742298',
    950: '#000000',
  },
}
SCSS
$custom: #742298;
$custom-light: #a067b7;
$custom-dark: #000000;
JSON
{
  "hex": "#742298",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 281.695,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43841,
    "c": 0.18443,
    "h": 312.9
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#742298
secondary
#77BE57
accent
#E64174
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #742298

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

Preview Lab → · Contrast checker → · Palette generator →

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