#742687#742687

#742687 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.164 H 319.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#742687
RGBrgb(116, 38, 135)
HSLhsl(288, 56%, 34%)
HSVhsv(288, 72%, 53%)
CMYKcmyk(14.1%, 71.9%, 0%, 47.1%)
CIE-LABlab(31.46, 48.12, -38.30)
CIE-LCHlch(31.46, 61.50, 321.48°)
OKLaboklab(43.02% 0.1237 -0.1073)
OKLCHoklch(43.02% 0.164 319)
XYZxyz(12.2682, 6.8491, 23.5928)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742687 #398726
analogous
#442687 #742687 #87266A
triadic
#742687 #877426 #268774
tetradic
#742687 #874426 #398726 #266A87
square
#742687 #874426 #398726 #266A87
split-complementary
#742687 #6A8726 #268744
monochromatic
#220B27 #4B1957 #742687 #9D33B7 #B858D0

Accessibility & contrast

On white

8.86
#742687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#742687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742687
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742687#FFFFFF#000000##FFFFFF
##7426871.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#2C4D85
Tritanopia (blue-blind)
#743854
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #742687;
/* rgb */ color: rgb(116, 38, 135);
/* oklch */ color: oklch(43.0% 0.164 319.0);
Tailwind
colors: {
  custom: {
    50: '#9f68aa',
    500: '#742687',
    950: '#000000',
  },
}
SCSS
$custom: #742687;
$custom-light: #9f68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#742687",
  "rgb": {
    "r": 116,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 288.247,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4302,
    "c": 0.16377,
    "h": 319
  },
  "luminance": 0.06848
}

Semantic roles & 50–950 ramp

primary
#742687
secondary
#67B554
accent
#DF4866
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #742687

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

Preview Lab → · Contrast checker → · Palette generator →

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