#742887#742887

#742887 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.161 H 318.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#742887
RGBrgb(116, 40, 135)
HSLhsl(288, 54%, 34%)
HSVhsv(288, 70%, 53%)
CMYKcmyk(14.1%, 70.4%, 0%, 47.1%)
CIE-LABlab(31.76, 47.27, -37.81)
CIE-LCHlch(31.76, 60.53, 321.34°)
OKLaboklab(43.24% 0.1215 -0.1059)
OKLCHoklch(43.24% 0.161 318.9)
XYZxyz(12.3338, 6.9804, 23.6146)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742887 #3B8728
analogous
#452887 #742887 #87286B
triadic
#742887 #877428 #288774
tetradic
#742887 #874528 #3B8728 #286B87
square
#742887 #874528 #3B8728 #286B87
split-complementary
#742887 #6B8728 #288745
monochromatic
#230C29 #4B1A58 #742887 #9D36B6 #B75BCE

Accessibility & contrast

On white

8.76
#742887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#742887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742887
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742887#FFFFFF#000000##FFFFFF
##7428871.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#2E4D85
Tritanopia (blue-blind)
#743A54
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #742887;
/* rgb */ color: rgb(116, 40, 135);
/* oklch */ color: oklch(43.2% 0.161 318.9);
Tailwind
colors: {
  custom: {
    50: '#9f69aa',
    500: '#742887',
    950: '#000000',
  },
}
SCSS
$custom: #742887;
$custom-light: #9f69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#742887",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 288,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43236,
    "c": 0.16116,
    "h": 318.9
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#742887
secondary
#6AB457
accent
#DE4A68
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #742887

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

Preview Lab → · Contrast checker → · Palette generator →

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