#71256F#71256F

#71256F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.9% C 0.142 H 328.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#71256F
RGBrgb(113, 37, 111)
HSLhsl(302, 51%, 29%)
HSVhsv(302, 67%, 44%)
CMYKcmyk(0%, 67.3%, 1.8%, 55.7%)
CIE-LABlab(29.37, 43.14, -26.54)
CIE-LCHlch(29.37, 50.65, 328.41°)
OKLaboklab(40.95% 0.1211 -0.0732)
OKLCHoklch(40.95% 0.142 328.9)
XYZxyz(10.3408, 5.9823, 15.6459)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71256F #257127
analogous
#4D2571 #71256F #712549
triadic
#71256F #6F7125 #256F71
tetradic
#71256F #714D25 #257127 #254971
square
#71256F #714D25 #257127 #254971
split-complementary
#71256F #497125 #25714D
monochromatic
#170817 #431642 #71256F #9F349C #C44CC1

Accessibility & contrast

On white

9.56
#71256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#71256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71256F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71256F#FFFFFF#000000##FFFFFF
##71256F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#39496D
Tritanopia (blue-blind)
#752E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #71256f;
/* rgb */ color: rgb(113, 37, 111);
/* oklch */ color: oklch(40.9% 0.142 328.9);
Tailwind
colors: {
  custom: {
    50: '#9c6698',
    500: '#71256f',
    950: '#000000',
  },
}
SCSS
$custom: #71256f;
$custom-light: #9c6698;
$custom-dark: #000000;
JSON
{
  "hex": "#71256f",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 301.579,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40948,
    "c": 0.14152,
    "h": 328.9
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#71256F
secondary
#4EA450
accent
#DA514E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #71256F

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

Preview Lab → · Contrast checker → · Palette generator →

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