#742387#742387

#742387 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.167 H 319.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#742387
RGBrgb(116, 35, 135)
HSLhsl(289, 59%, 33%)
HSVhsv(289, 74%, 53%)
CMYKcmyk(14.1%, 74.1%, 0%, 47.1%)
CIE-LABlab(31.03, 49.33, -38.98)
CIE-LCHlch(31.03, 62.88, 321.68°)
OKLaboklab(42.71% 0.1269 -0.1093)
OKLCHoklch(42.71% 0.167 319.3)
XYZxyz(12.1761, 6.6649, 23.5621)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742387 #368723
analogous
#422387 #742387 #872368
triadic
#742387 #877423 #238774
tetradic
#742387 #874223 #368723 #236887
square
#742387 #874223 #368723 #236887
split-complementary
#742387 #688723 #238742
monochromatic
#200A26 #4A1656 #742387 #9E30B8 #BA52D2

Accessibility & contrast

On white

9.00
#742387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#742387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742387
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742387#FFFFFF#000000##FFFFFF
##7423871.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #742387;
/* rgb */ color: rgb(116, 35, 135);
/* oklch */ color: oklch(42.7% 0.167 319.3);
Tailwind
colors: {
  custom: {
    50: '#9f66aa',
    500: '#742387',
    950: '#000000',
  },
}
SCSS
$custom: #742387;
$custom-light: #9f66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#742387",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 288.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42713,
    "c": 0.16749,
    "h": 319.3
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#742387
secondary
#63B650
accent
#E24663
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #742387

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

Preview Lab → · Contrast checker → · Palette generator →

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