#71256A#71256A

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

Color values

HEX#71256A
RGBrgb(113, 37, 106)
HSLhsl(306, 51%, 29%)
HSVhsv(306, 67%, 44%)
CMYKcmyk(0%, 67.3%, 6.2%, 55.7%)
CIE-LABlab(29.10, 42.24, -23.76)
CIE-LCHlch(29.10, 48.46, 330.64°)
OKLaboklab(40.66% 0.1207 -0.0652)
OKLCHoklch(40.66% 0.137 331.6)
XYZxyz(10.0731, 5.8752, 14.2364)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71256A #25712C
analogous
#522571 #71256A #712544
triadic
#71256A #6A7125 #256A71
tetradic
#71256A #715225 #25712C #254471
square
#71256A #715225 #25712C #254471
split-complementary
#71256A #447125 #257152
monochromatic
#170816 #43163F #71256A #9F3495 #C44CB9

Accessibility & contrast

On white

9.66
#71256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#71256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71256A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71256A#FFFFFF#000000##FFFFFF
##71256A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6C
Deuteranopia (green-blind)
#3B4868
Tritanopia (blue-blind)
#762C44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #71256a;
/* rgb */ color: rgb(113, 37, 106);
/* oklch */ color: oklch(40.7% 0.137 331.6);
Tailwind
colors: {
  custom: {
    50: '#9c6695',
    500: '#71256a',
    950: '#000000',
  },
}
SCSS
$custom: #71256a;
$custom-light: #9c6695;
$custom-dark: #000000;
JSON
{
  "hex": "#71256a",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 305.526,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40662,
    "c": 0.13717,
    "h": 331.6
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#71256A
secondary
#4EA456
accent
#DA5B4E
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #71256A

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

Preview Lab → · Contrast checker → · Palette generator →

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