#71256B#71256B

#71256B is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.7% C 0.138 H 331.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#71256B
RGBrgb(113, 37, 107)
HSLhsl(305, 51%, 29%)
HSVhsv(305, 67%, 44%)
CMYKcmyk(0%, 67.3%, 5.3%, 55.7%)
CIE-LABlab(29.15, 42.42, -24.32)
CIE-LCHlch(29.15, 48.89, 330.17°)
OKLaboklab(40.72% 0.1208 -0.0668)
OKLCHoklch(40.72% 0.138 331.1)
XYZxyz(10.1254, 5.8961, 14.5118)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71256B #25712B
analogous
#512571 #71256B #712545
triadic
#71256B #6B7125 #256B71
tetradic
#71256B #715125 #25712B #254571
square
#71256B #715125 #25712B #254571
split-complementary
#71256B #457125 #257151
monochromatic
#170816 #43163F #71256B #9F3497 #C44CBB

Accessibility & contrast

On white

9.64
#71256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71256B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71256B#FFFFFF#000000##FFFFFF
##71256B1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6D
Deuteranopia (green-blind)
#3B4869
Tritanopia (blue-blind)
#762D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #71256b;
/* rgb */ color: rgb(113, 37, 107);
/* oklch */ color: oklch(40.7% 0.138 331.1);
Tailwind
colors: {
  custom: {
    50: '#9c6695',
    500: '#71256b',
    950: '#000000',
  },
}
SCSS
$custom: #71256b;
$custom-light: #9c6695;
$custom-dark: #000000;
JSON
{
  "hex": "#71256b",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 304.737,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40718,
    "c": 0.13803,
    "h": 331.1
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#71256B
secondary
#4EA455
accent
#DA594E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #71256B

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

Preview Lab → · Contrast checker → · Palette generator →

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