#742971#742971

#742971 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.139 H 329.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#742971
RGBrgb(116, 41, 113)
HSLhsl(302, 48%, 31%)
HSVhsv(302, 65%, 45%)
CMYKcmyk(0%, 64.7%, 2.6%, 54.5%)
CIE-LABlab(30.62, 42.53, -25.80)
CIE-LCHlch(30.62, 49.75, 328.76°)
OKLaboklab(41.99% 0.1198 -0.071)
OKLCHoklch(41.99% 0.139 329.3)
XYZxyz(10.9759, 6.4919, 16.2945)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742971 #29742C
analogous
#512974 #742971 #74294B
triadic
#742971 #717429 #297174
tetradic
#742971 #745129 #29742C #294B74
square
#742971 #745129 #29742C #294B74
split-complementary
#742971 #4B7429 #297451
monochromatic
#1A0919 #471945 #742971 #A1399D #C355BE

Accessibility & contrast

On white

9.14
#742971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#742971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742971
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742971#FFFFFF#000000##FFFFFF
##7429711.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224273
Deuteranopia (green-blind)
#3C4C6F
Tritanopia (blue-blind)
#783249
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #742971;
/* rgb */ color: rgb(116, 41, 113);
/* oklch */ color: oklch(42.0% 0.139 329.3);
Tailwind
colors: {
  custom: {
    50: '#9e689a',
    500: '#742971',
    950: '#000000',
  },
}
SCSS
$custom: #742971;
$custom-light: #9e689a;
$custom-dark: #000000;
JSON
{
  "hex": "#742971",
  "rgb": {
    "r": 116,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 302.4,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.13925,
    "h": 329.3
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#742971
secondary
#53A656
accent
#D75650
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #742971

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

Preview Lab → · Contrast checker → · Palette generator →

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