#71257A#71257A

#71257A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.152 H 323.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#71257A
RGBrgb(113, 37, 122)
HSLhsl(294, 53%, 31%)
HSVhsv(294, 70%, 48%)
CMYKcmyk(7.4%, 69.7%, 0%, 52.2%)
CIE-LABlab(30.01, 45.23, -32.50)
CIE-LCHlch(30.01, 55.70, 324.30°)
OKLaboklab(41.62% 0.1215 -0.0905)
OKLCHoklch(41.62% 0.152 323.3)
XYZxyz(10.9841, 6.2396, 19.0344)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71257A #2E7A25
analogous
#46257A #71257A #7A2558
triadic
#71257A #7A7125 #257A71
tetradic
#71257A #7A4625 #2E7A25 #25587A
square
#71257A #7A4625 #2E7A25 #25587A
split-complementary
#71257A #587A25 #257A46
monochromatic
#1A091C #46174B #71257A #9C33A9 #BD50CA

Accessibility & contrast

On white

9.34
#71257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#71257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71257A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71257A#FFFFFF#000000##FFFFFF
##71257A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F417C
Deuteranopia (green-blind)
#324A78
Tritanopia (blue-blind)
#73334C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #71257a;
/* rgb */ color: rgb(113, 37, 122);
/* oklch */ color: oklch(41.6% 0.152 323.3);
Tailwind
colors: {
  custom: {
    50: '#9d66a1',
    500: '#71257a',
    950: '#000000',
  },
}
SCSS
$custom: #71257a;
$custom-light: #9d66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#71257a",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 293.647,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41618,
    "c": 0.15151,
    "h": 323.3
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#71257A
secondary
#58AC4E
accent
#DD4B5A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060F
muted
#7E7A7E

Preview Lab

Preview with #71257A

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

Preview Lab → · Contrast checker → · Palette generator →

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