#741271#741271

#741271 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.167 H 329.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#741271
RGBrgb(116, 18, 113)
HSLhsl(302, 73%, 26%)
HSVhsv(302, 84%, 45%)
CMYKcmyk(0%, 84.5%, 2.6%, 54.5%)
CIE-LABlab(27.68, 50.87, -30.46)
CIE-LCHlch(27.68, 59.29, 329.09°)
OKLaboklab(39.88% 0.1436 -0.0843)
OKLCHoklch(39.88% 0.167 329.6)
XYZxyz(10.3993, 5.3387, 16.1023)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#741271 #127415
analogous
#461274 #741271 #741240
triadic
#741271 #717412 #127174
tetradic
#741271 #744612 #127415 #124074
square
#741271 #744612 #127415 #124074
split-complementary
#741271 #407412 #127446
monochromatic
#1A041A #3F0A3D #741271 #A91AA5 #DD23D7

Accessibility & contrast

On white

10.16
#741271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#741271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #741271
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##741271#FFFFFF#000000##FFFFFF
##7412711.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#32466F
Tritanopia (blue-blind)
#782242
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #741271;
/* rgb */ color: rgb(116, 18, 113);
/* oklch */ color: oklch(39.9% 0.167 329.6);
Tailwind
colors: {
  custom: {
    50: '#a05f9a',
    500: '#741271',
    950: '#000000',
  },
}
SCSS
$custom: #741271;
$custom-light: #a05f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#741271",
  "rgb": {
    "r": 116,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 301.837,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39877,
    "c": 0.16653,
    "h": 329.6
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#741271
secondary
#37AB3B
accent
#F03E38
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #741271

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

Preview Lab → · Contrast checker → · Palette generator →

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