#742587#742587

#742587 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.165 H 319.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#742587
RGBrgb(116, 37, 135)
HSLhsl(288, 57%, 34%)
HSVhsv(288, 73%, 53%)
CMYKcmyk(14.1%, 72.6%, 0%, 47.1%)
CIE-LABlab(31.31, 48.53, -38.53)
CIE-LCHlch(31.31, 61.96, 321.55°)
OKLaboklab(42.92% 0.1248 -0.108)
OKLCHoklch(42.92% 0.165 319.1)
XYZxyz(12.2366, 6.7860, 23.5822)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742587 #388725
analogous
#432587 #742587 #872569
triadic
#742587 #877425 #258774
tetradic
#742587 #874325 #388725 #256987
square
#742587 #874325 #388725 #256987
split-complementary
#742587 #698725 #258743
monochromatic
#210B27 #4B1857 #742587 #9D32B7 #B956D1

Accessibility & contrast

On white

8.91
#742587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#742587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742587
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742587#FFFFFF#000000##FFFFFF
##7425871.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#2C4C85
Tritanopia (blue-blind)
#743853
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #742587;
/* rgb */ color: rgb(116, 37, 135);
/* oklch */ color: oklch(42.9% 0.165 319.1);
Tailwind
colors: {
  custom: {
    50: '#9f67aa',
    500: '#742587',
    950: '#000000',
  },
}
SCSS
$custom: #742587;
$custom-light: #9f67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#742587",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 288.367,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42915,
    "c": 0.16504,
    "h": 319.1
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#742587
secondary
#66B553
accent
#E04865
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #742587

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

Preview Lab → · Contrast checker → · Palette generator →

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