#742498#742498

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

Color values

HEX#742498
RGBrgb(116, 36, 152)
HSLhsl(281, 62%, 37%)
HSVhsv(281, 76%, 60%)
CMYKcmyk(23.7%, 76.3%, 0%, 40.4%)
CIE-LABlab(32.35, 52.46, -47.33)
CIE-LCHlch(32.35, 70.66, 317.94°)
OKLaboklab(44.03% 0.1237 -0.1338)
OKLCHoklch(44.03% 0.182 312.8)
XYZxyz(13.4998, 7.2422, 30.3864)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742498 #489824
analogous
#3A2498 #742498 #982482
triadic
#742498 #987424 #249874
tetradic
#742498 #983A24 #489824 #248298
square
#742498 #983A24 #489824 #248298
split-complementary
#742498 #829824 #24983A
monochromatic
#280D35 #4E1867 #742498 #9A30C9 #B35ED9

Accessibility & contrast

On white

8.58
#742498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#742498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742498
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742498#FFFFFF#000000##FFFFFF
##7424981.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#154E96
Tritanopia (blue-blind)
#703F5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #742498;
/* rgb */ color: rgb(116, 36, 152);
/* oklch */ color: oklch(44.0% 0.182 312.8);
Tailwind
colors: {
  custom: {
    50: '#a068b7',
    500: '#742498',
    950: '#000000',
  },
}
SCSS
$custom: #742498;
$custom-light: #a068b7;
$custom-dark: #000000;
JSON
{
  "hex": "#742498",
  "rgb": {
    "r": 116,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 281.379,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44027,
    "c": 0.18227,
    "h": 312.8
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#742498
secondary
#79BE5A
accent
#E54375
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742498

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

Preview Lab → · Contrast checker → · Palette generator →

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