#71257C#71257C

#71257C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.153 H 322.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#71257C
RGBrgb(113, 37, 124)
HSLhsl(292, 54%, 32%)
HSVhsv(292, 70%, 49%)
CMYKcmyk(8.9%, 70.2%, 0%, 51.4%)
CIE-LABlab(30.13, 45.62, -33.57)
CIE-LCHlch(30.13, 56.64, 323.65°)
OKLaboklab(41.75% 0.1215 -0.0936)
OKLCHoklch(41.75% 0.153 322.4)
XYZxyz(11.1093, 6.2897, 19.6937)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71257C #307C25
analogous
#46257C #71257C #7C255C
triadic
#71257C #7C7125 #257C71
tetradic
#71257C #7C4625 #307C25 #255C7C
square
#71257C #7C4625 #307C25 #255C7C
split-complementary
#71257C #5C7C25 #257C46
monochromatic
#1B091E #46174D #71257C #9C33AB #BB50CB

Accessibility & contrast

On white

9.30
#71257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71257C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71257C#FFFFFF#000000##FFFFFF
##71257C1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B417F
Deuteranopia (green-blind)
#314A7A
Tritanopia (blue-blind)
#73344D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #71257c;
/* rgb */ color: rgb(113, 37, 124);
/* oklch */ color: oklch(41.7% 0.153 322.4);
Tailwind
colors: {
  custom: {
    50: '#9d66a2',
    500: '#71257c',
    950: '#000000',
  },
}
SCSS
$custom: #71257c;
$custom-light: #9d66a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71257c",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 292.414,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41746,
    "c": 0.15336,
    "h": 322.4
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#71257C
secondary
#5BAE4F
accent
#DD4A5D
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71257C

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

Preview Lab → · Contrast checker → · Palette generator →

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