#742981#742981

#742981 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.154 H 321.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#742981
RGBrgb(116, 41, 129)
HSLhsl(291, 52%, 33%)
HSVhsv(291, 68%, 51%)
CMYKcmyk(10.1%, 68.2%, 0%, 49.4%)
CIE-LABlab(31.54, 45.61, -34.43)
CIE-LCHlch(31.54, 57.15, 322.95°)
OKLaboklab(42.96% 0.1205 -0.0961)
OKLCHoklch(42.96% 0.154 321.4)
XYZxyz(11.9574, 6.8845, 21.4636)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742981 #368129
analogous
#482981 #742981 #812962
triadic
#742981 #817429 #298174
tetradic
#742981 #814829 #368129 #296281
square
#742981 #814829 #368129 #296281
split-complementary
#742981 #628129 #298148
monochromatic
#200B24 #4A1A53 #742981 #9E38AF #BA5ACB

Accessibility & contrast

On white

8.84
#742981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#742981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742981
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742981#FFFFFF#000000##FFFFFF
##7429811.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4584
Deuteranopia (green-blind)
#334D7F
Tritanopia (blue-blind)
#753851
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #742981;
/* rgb */ color: rgb(116, 41, 129);
/* oklch */ color: oklch(43.0% 0.154 321.4);
Tailwind
colors: {
  custom: {
    50: '#9f69a6',
    500: '#742981',
    950: '#000000',
  },
}
SCSS
$custom: #742981;
$custom-light: #9f69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#742981",
  "rgb": {
    "r": 116,
    "g": 41,
    "b": 129
  },
  "hsl": {
    "h": 291.136,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42957,
    "c": 0.15407,
    "h": 321.4
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#742981
secondary
#63B056
accent
#DB4D62
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #742981

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

Preview Lab → · Contrast checker → · Palette generator →

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