#742876#742876

#742876 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.145 H 326.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#742876
RGBrgb(116, 40, 118)
HSLhsl(298, 49%, 31%)
HSVhsv(298, 66%, 46%)
CMYKcmyk(1.7%, 66.1%, 0%, 53.7%)
CIE-LABlab(30.73, 43.92, -28.80)
CIE-LCHlch(30.73, 52.51, 326.75°)
OKLaboklab(42.16% 0.1214 -0.0797)
OKLCHoklch(42.16% 0.145 326.7)
XYZxyz(11.2311, 6.5393, 17.8067)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742876 #2A7628
analogous
#4D2876 #742876 #762851
triadic
#742876 #767428 #287674
tetradic
#742876 #764D28 #2A7628 #285176
square
#742876 #764D28 #2A7628 #285176
split-complementary
#742876 #517628 #28764D
monochromatic
#1A091B #471948 #742876 #A137A4 #C254C5

Accessibility & contrast

On white

9.10
#742876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742876
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742876#FFFFFF#000000##FFFFFF
##7428761.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4278
Deuteranopia (green-blind)
#394C74
Tritanopia (blue-blind)
#77334B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #742876;
/* rgb */ color: rgb(116, 40, 118);
/* oklch */ color: oklch(42.2% 0.145 326.7);
Tailwind
colors: {
  custom: {
    50: '#9f689e',
    500: '#742876',
    950: '#000000',
  },
}
SCSS
$custom: #742876;
$custom-light: #9f689e;
$custom-dark: #000000;
JSON
{
  "hex": "#742876",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 298.462,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.14523,
    "h": 326.7
  },
  "luminance": 0.06539
}

Semantic roles & 50–950 ramp

primary
#742876
secondary
#54A852
accent
#D94F52
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #742876

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

Preview Lab → · Contrast checker → · Palette generator →

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