#712271#712271

#712271 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.147 H 327.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#712271
RGBrgb(113, 34, 113)
HSLhsl(300, 54%, 29%)
HSVhsv(300, 70%, 44%)
CMYKcmyk(0%, 69.9%, 0%, 55.7%)
CIE-LABlab(29.02, 44.79, -28.35)
CIE-LCHlch(29.02, 53.01, 327.66°)
OKLaboklab(40.74% 0.1249 -0.0784)
OKLCHoklch(40.74% 0.147 327.9)
XYZxyz(10.3626, 5.8477, 16.2025)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712271 #227122
analogous
#4A2271 #712271 #71224A
triadic
#712271 #717122 #227171
tetradic
#712271 #714A22 #227122 #224A71
square
#712271 #714A22 #227122 #224A71
split-complementary
#712271 #4A7122 #22714A
monochromatic
#180718 #421442 #712271 #A030A0 #C746C7

Accessibility & contrast

On white

9.68
#712271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#712271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712271
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712271#FFFFFF#000000##FFFFFF
##7122711.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#36486F
Tritanopia (blue-blind)
#752D46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #712271;
/* rgb */ color: rgb(113, 34, 113);
/* oklch */ color: oklch(40.7% 0.147 327.9);
Tailwind
colors: {
  custom: {
    50: '#9d659a',
    500: '#712271',
    950: '#000000',
  },
}
SCSS
$custom: #712271;
$custom-light: #9d659a;
$custom-dark: #000000;
JSON
{
  "hex": "#712271",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 300,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40737,
    "c": 0.14744,
    "h": 327.9
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#712271
secondary
#4AA44A
accent
#DD4B4B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712271

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

Preview Lab → · Contrast checker → · Palette generator →

#712271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva