#71256C#71256C

#71256C is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.8% C 0.139 H 330.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#71256C
RGBrgb(113, 37, 108)
HSLhsl(304, 51%, 29%)
HSVhsv(304, 67%, 44%)
CMYKcmyk(0%, 67.3%, 4.4%, 55.7%)
CIE-LABlab(29.20, 42.60, -24.87)
CIE-LCHlch(29.20, 49.33, 329.72°)
OKLaboklab(40.78% 0.1209 -0.0684)
OKLCHoklch(40.78% 0.139 330.5)
XYZxyz(10.1783, 5.9173, 14.7905)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71256C #25712A
analogous
#502571 #71256C #712546
triadic
#71256C #6C7125 #256C71
tetradic
#71256C #715025 #25712A #254671
square
#71256C #715025 #25712A #254671
split-complementary
#71256C #467125 #257150
monochromatic
#170816 #431640 #71256C #9F3498 #C44CBC

Accessibility & contrast

On white

9.62
#71256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#71256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71256C
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71256C#FFFFFF#000000##FFFFFF
##71256C1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3E6E
Deuteranopia (green-blind)
#3A496A
Tritanopia (blue-blind)
#752D45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #71256c;
/* rgb */ color: rgb(113, 37, 108);
/* oklch */ color: oklch(40.8% 0.139 330.5);
Tailwind
colors: {
  custom: {
    50: '#9c6696',
    500: '#71256c',
    950: '#000000',
  },
}
SCSS
$custom: #71256c;
$custom-light: #9c6696;
$custom-dark: #000000;
JSON
{
  "hex": "#71256c",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 303.947,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40775,
    "c": 0.13889,
    "h": 330.5
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#71256C
secondary
#4EA454
accent
#DA574E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #71256C

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

Preview Lab → · Contrast checker → · Palette generator →

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