#71257F#71257F

#71257F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.9% C 0.156 H 321.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#71257F
RGBrgb(113, 37, 127)
HSLhsl(291, 55%, 32%)
HSVhsv(291, 71%, 50%)
CMYKcmyk(11%, 70.9%, 0%, 50.2%)
CIE-LABlab(30.32, 46.22, -35.15)
CIE-LCHlch(30.32, 58.07, 322.74°)
OKLaboklab(41.94% 0.1214 -0.0982)
OKLCHoklch(41.94% 0.156 321)
XYZxyz(11.3019, 6.3667, 20.7081)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71257F #337F25
analogous
#44257F #71257F #7F2560
triadic
#71257F #7F7125 #257F71
tetradic
#71257F #7F4425 #337F25 #25607F
square
#71257F #7F4425 #337F25 #25607F
split-complementary
#71257F #607F25 #257F44
monochromatic
#1D0920 #471750 #71257F #9B33AE #B952CD

Accessibility & contrast

On white

9.24
#71257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#71257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71257F
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71257F#FFFFFF#000000##FFFFFF
##71257F1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044282
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#72354F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #71257f;
/* rgb */ color: rgb(113, 37, 127);
/* oklch */ color: oklch(41.9% 0.156 321.0);
Tailwind
colors: {
  custom: {
    50: '#9d67a4',
    500: '#71257f',
    950: '#000000',
  },
}
SCSS
$custom: #71257f;
$custom-light: #9d67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71257f",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 290.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41941,
    "c": 0.15617,
    "h": 321
  },
  "luminance": 0.06366
}

Semantic roles & 50–950 ramp

primary
#71257F
secondary
#5EB14F
accent
#DE4A61
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71257F

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

Preview Lab → · Contrast checker → · Palette generator →

#71257F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva