#71258B#71258B

#71258B is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.168 H 316.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#71258B
RGBrgb(113, 37, 139)
HSLhsl(285, 58%, 35%)
HSVhsv(285, 73%, 55%)
CMYKcmyk(18.7%, 73.4%, 0%, 45.5%)
CIE-LABlab(31.11, 48.68, -41.37)
CIE-LCHlch(31.11, 63.88, 319.64°)
OKLaboklab(42.76% 0.1206 -0.1164)
OKLCHoklch(42.76% 0.168 316)
XYZxyz(12.1311, 6.6984, 25.0750)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71258B #3F8B25
analogous
#3E258B #71258B #8B2572
triadic
#71258B #8B7125 #258B71
tetradic
#71258B #8B3E25 #3F8B25 #25728B
square
#71258B #8B3E25 #3F8B25 #25728B
split-complementary
#71258B #728B25 #258B3E
monochromatic
#220B2A #4A185B #71258B #9832BB #B358D3

Accessibility & contrast

On white

8.98
#71258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#71258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71258B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71258B#FFFFFF#000000##FFFFFF
##71258B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#244B89
Tritanopia (blue-blind)
#6F3A56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71258b;
/* rgb */ color: rgb(113, 37, 139);
/* oklch */ color: oklch(42.8% 0.168 316.0);
Tailwind
colors: {
  custom: {
    50: '#9d67ad',
    500: '#71258b',
    950: '#000000',
  },
}
SCSS
$custom: #71258b;
$custom-light: #9d67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#71258b",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 284.706,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42759,
    "c": 0.16759,
    "h": 316
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

primary
#71258B
secondary
#6EB755
accent
#E1476E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71258B

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

Preview Lab → · Contrast checker → · Palette generator →

#71258B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva