#71257E#71257E

#71257E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.155 H 321.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#71257E
RGBrgb(113, 37, 126)
HSLhsl(291, 55%, 32%)
HSVhsv(291, 71%, 49%)
CMYKcmyk(10.3%, 70.6%, 0%, 50.6%)
CIE-LABlab(30.26, 46.02, -34.63)
CIE-LCHlch(30.26, 57.59, 323.04°)
OKLaboklab(41.88% 0.1214 -0.0967)
OKLCHoklch(41.88% 0.155 321.5)
XYZxyz(11.2371, 6.3408, 20.3666)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71257E #327E25
analogous
#45257E #71257E #7E255F
triadic
#71257E #7E7125 #257E71
tetradic
#71257E #7E4525 #327E25 #255F7E
square
#71257E #7E4525 #327E25 #255F7E
split-complementary
#71257E #5F7E25 #257E45
monochromatic
#1C091F #47174F #71257E #9B33AD #BA51CC

Accessibility & contrast

On white

9.26
#71257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71257E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71257E#FFFFFF#000000##FFFFFF
##71257E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064281
Deuteranopia (green-blind)
#304A7C
Tritanopia (blue-blind)
#72354E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #71257e;
/* rgb */ color: rgb(113, 37, 126);
/* oklch */ color: oklch(41.9% 0.155 321.5);
Tailwind
colors: {
  custom: {
    50: '#9d67a4',
    500: '#71257e',
    950: '#000000',
  },
}
SCSS
$custom: #71257e;
$custom-light: #9d67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71257e",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 291.236,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41876,
    "c": 0.15523,
    "h": 321.5
  },
  "luminance": 0.0634
}

Semantic roles & 50–950 ramp

primary
#71257E
secondary
#5DB04F
accent
#DE4A5F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71257E

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

Preview Lab → · Contrast checker → · Palette generator →

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