#740F71#740F71

#740F71 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.7% C 0.169 H 329.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#740F71
RGBrgb(116, 15, 113)
HSLhsl(302, 77%, 26%)
HSVhsv(302, 87%, 45%)
CMYKcmyk(0%, 87.1%, 2.6%, 54.5%)
CIE-LABlab(27.43, 51.60, -30.85)
CIE-LCHlch(27.43, 60.12, 329.12°)
OKLaboklab(39.7% 0.1457 -0.0855)
OKLCHoklch(39.7% 0.169 329.6)
XYZxyz(10.3539, 5.2477, 16.0872)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#740F71 #0F7412
analogous
#440F74 #740F71 #740F3E
triadic
#740F71 #71740F #0F7174
tetradic
#740F71 #74440F #0F7412 #0F3E74
square
#740F71 #74440F #0F7412 #0F3E74
split-complementary
#740F71 #3E740F #0F7444
monochromatic
#1B041A #3E083C #740F71 #AA16A6 #E01DDB

Accessibility & contrast

On white

10.25
#740F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#740F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #740F71
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##740F71#FFFFFF#000000##FFFFFF
##740F711.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#31456F
Tritanopia (blue-blind)
#782142
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #740f71;
/* rgb */ color: rgb(116, 15, 113);
/* oklch */ color: oklch(39.7% 0.169 329.6);
Tailwind
colors: {
  custom: {
    50: '#a05e9a',
    500: '#740f71',
    950: '#000000',
  },
}
SCSS
$custom: #740f71;
$custom-light: #a05e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#740f71",
  "rgb": {
    "r": 116,
    "g": 15,
    "b": 113
  },
  "hsl": {
    "h": 301.782,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.397,
    "c": 0.16891,
    "h": 329.6
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#740F71
secondary
#33AC37
accent
#F43A34
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #740F71

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

Preview Lab → · Contrast checker → · Palette generator →

#740F71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva