#742877#742877

#742877 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.2% C 0.146 H 326.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#742877
RGBrgb(116, 40, 119)
HSLhsl(298, 50%, 31%)
HSVhsv(298, 66%, 47%)
CMYKcmyk(2.5%, 66.4%, 0%, 53.3%)
CIE-LABlab(30.79, 44.10, -29.34)
CIE-LCHlch(30.79, 52.97, 326.37°)
OKLaboklab(42.22% 0.1215 -0.0812)
OKLCHoklch(42.22% 0.146 326.2)
XYZxyz(11.2908, 6.5632, 18.1213)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742877 #2B7728
analogous
#4C2877 #742877 #772852
triadic
#742877 #777428 #287774
tetradic
#742877 #774C28 #2B7728 #285277
square
#742877 #774C28 #2B7728 #285277
split-complementary
#742877 #527728 #28774C
monochromatic
#1B091B #471949 #742877 #A137A5 #C154C5

Accessibility & contrast

On white

9.08
#742877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#742877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742877
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742877#FFFFFF#000000##FFFFFF
##7428771.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4279
Deuteranopia (green-blind)
#394C75
Tritanopia (blue-blind)
#77334C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #742877;
/* rgb */ color: rgb(116, 40, 119);
/* oklch */ color: oklch(42.2% 0.146 326.2);
Tailwind
colors: {
  custom: {
    50: '#9f689e',
    500: '#742877',
    950: '#000000',
  },
}
SCSS
$custom: #742877;
$custom-light: #9f689e;
$custom-dark: #000000;
JSON
{
  "hex": "#742877",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 297.722,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.14614,
    "h": 326.2
  },
  "luminance": 0.06562
}

Semantic roles & 50–950 ramp

primary
#742877
secondary
#55A952
accent
#D94F54
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #742877

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

Preview Lab → · Contrast checker → · Palette generator →

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