#742398#742398

#742398 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.183 H 312.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#742398
RGBrgb(116, 35, 152)
HSLhsl(282, 63%, 37%)
HSVhsv(282, 77%, 60%)
CMYKcmyk(23.7%, 77%, 0%, 40.4%)
CIE-LABlab(32.22, 52.84, -47.55)
CIE-LCHlch(32.22, 71.09, 318.02°)
OKLaboklab(43.93% 0.1247 -0.1344)
OKLCHoklch(43.93% 0.183 312.8)
XYZxyz(13.4700, 7.1825, 30.3765)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742398 #479823
analogous
#392398 #742398 #982382
triadic
#742398 #987423 #239874
tetradic
#742398 #983923 #479823 #238298
square
#742398 #983923 #479823 #238298
split-complementary
#742398 #829823 #239839
monochromatic
#280C35 #4E1866 #742398 #9A2ECA #B35CD9

Accessibility & contrast

On white

8.62
#742398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#742398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742398
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742398#FFFFFF#000000##FFFFFF
##7423981.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#144D96
Tritanopia (blue-blind)
#703E5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #742398;
/* rgb */ color: rgb(116, 35, 152);
/* oklch */ color: oklch(43.9% 0.183 312.8);
Tailwind
colors: {
  custom: {
    50: '#a067b7',
    500: '#742398',
    950: '#000000',
  },
}
SCSS
$custom: #742398;
$custom-light: #a067b7;
$custom-dark: #000000;
JSON
{
  "hex": "#742398",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 281.538,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.18336,
    "h": 312.8
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#742398
secondary
#78BE59
accent
#E64274
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #742398

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

Preview Lab → · Contrast checker → · Palette generator →

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