#742487#742487

#742487 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.166 H 319.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#742487
RGBrgb(116, 36, 135)
HSLhsl(288, 58%, 34%)
HSVhsv(288, 73%, 53%)
CMYKcmyk(14.1%, 73.3%, 0%, 47.1%)
CIE-LABlab(31.17, 48.93, -38.76)
CIE-LCHlch(31.17, 62.42, 321.62°)
OKLaboklab(42.81% 0.1258 -0.1087)
OKLCHoklch(42.81% 0.166 319.2)
XYZxyz(12.2059, 6.7246, 23.5720)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742487 #378724
analogous
#422487 #742487 #872468
triadic
#742487 #877424 #248774
tetradic
#742487 #874224 #378724 #246887
square
#742487 #874224 #378724 #246887
split-complementary
#742487 #688724 #248742
monochromatic
#210A26 #4A1757 #742487 #9E31B7 #B954D1

Accessibility & contrast

On white

8.96
#742487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#742487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742487
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742487#FFFFFF#000000##FFFFFF
##7424871.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#2B4C85
Tritanopia (blue-blind)
#743753
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #742487;
/* rgb */ color: rgb(116, 36, 135);
/* oklch */ color: oklch(42.8% 0.166 319.2);
Tailwind
colors: {
  custom: {
    50: '#9f67aa',
    500: '#742487',
    950: '#000000',
  },
}
SCSS
$custom: #742487;
$custom-light: #9f67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#742487",
  "rgb": {
    "r": 116,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 288.485,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42813,
    "c": 0.16627,
    "h": 319.2
  },
  "luminance": 0.06724
}

Semantic roles & 50–950 ramp

primary
#742487
secondary
#65B551
accent
#E14764
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #742487

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

Preview Lab → · Contrast checker → · Palette generator →

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