#71257D#71257D

#71257D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.154 H 321.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#71257D
RGBrgb(113, 37, 125)
HSLhsl(292, 54%, 32%)
HSVhsv(292, 70%, 49%)
CMYKcmyk(9.6%, 70.4%, 0%, 51%)
CIE-LABlab(30.19, 45.82, -34.10)
CIE-LCHlch(30.19, 57.12, 323.34°)
OKLaboklab(41.81% 0.1215 -0.0952)
OKLCHoklch(41.81% 0.154 321.9)
XYZxyz(11.1729, 6.3151, 20.0285)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71257D #317D25
analogous
#45257D #71257D #7D255D
triadic
#71257D #7D7125 #257D71
tetradic
#71257D #7D4525 #317D25 #255D7D
square
#71257D #7D4525 #317D25 #255D7D
split-complementary
#71257D #5D7D25 #257D45
monochromatic
#1C091F #46174E #71257D #9C33AC #BB51CB

Accessibility & contrast

On white

9.28
#71257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#71257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71257D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71257D#FFFFFF#000000##FFFFFF
##71257D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094280
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#72344E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #71257d;
/* rgb */ color: rgb(113, 37, 125);
/* oklch */ color: oklch(41.8% 0.154 321.9);
Tailwind
colors: {
  custom: {
    50: '#9d67a3',
    500: '#71257d',
    950: '#000000',
  },
}
SCSS
$custom: #71257d;
$custom-light: #9d67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#71257d",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 291.818,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41811,
    "c": 0.1543,
    "h": 321.9
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#71257D
secondary
#5CAF4F
accent
#DE4A5E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71257D

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

Preview Lab → · Contrast checker → · Palette generator →

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