#742987#742987

#742987 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.160 H 318.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#742987
RGBrgb(116, 41, 135)
HSLhsl(288, 53%, 35%)
HSVhsv(288, 70%, 53%)
CMYKcmyk(14.1%, 69.6%, 0%, 47.1%)
CIE-LABlab(31.92, 46.83, -37.57)
CIE-LCHlch(31.92, 60.04, 321.26°)
OKLaboklab(43.35% 0.1203 -0.1052)
OKLCHoklch(43.35% 0.16 318.8)
XYZxyz(12.3680, 7.0487, 23.6260)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742987 #3C8729
analogous
#452987 #742987 #87296B
triadic
#742987 #877429 #298774
tetradic
#742987 #874529 #3C8729 #296B87
square
#742987 #874529 #3C8729 #296B87
split-complementary
#742987 #6B8729 #298745
monochromatic
#230C29 #4C1B58 #742987 #9C37B6 #B75DCE

Accessibility & contrast

On white

8.72
#742987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#742987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742987
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742987#FFFFFF#000000##FFFFFF
##7429871.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01468A
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#743A55
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #742987;
/* rgb */ color: rgb(116, 41, 135);
/* oklch */ color: oklch(43.3% 0.160 318.8);
Tailwind
colors: {
  custom: {
    50: '#9f69aa',
    500: '#742987',
    950: '#000000',
  },
}
SCSS
$custom: #742987;
$custom-light: #9f69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#742987",
  "rgb": {
    "r": 116,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 287.872,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43347,
    "c": 0.15982,
    "h": 318.8
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#742987
secondary
#6BB359
accent
#DD4B68
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #742987

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

Preview Lab → · Contrast checker → · Palette generator →

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