#722271#722271

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

Color values

HEX#722271
RGBrgb(114, 34, 113)
HSLhsl(301, 54%, 29%)
HSVhsv(301, 70%, 45%)
CMYKcmyk(0%, 70.2%, 0.9%, 55.3%)
CIE-LABlab(29.20, 45.04, -28.07)
CIE-LCHlch(29.20, 53.07, 328.07°)
OKLaboklab(40.89% 0.1261 -0.0776)
OKLCHoklch(40.89% 0.148 328.4)
XYZxyz(10.4920, 5.9145, 16.2086)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#722271 #227223
analogous
#4B2272 #722271 #722249
triadic
#722271 #717222 #227172
tetradic
#722271 #724B22 #227223 #224972
square
#722271 #724B22 #227223 #224972
split-complementary
#722271 #497222 #22724B
monochromatic
#180717 #431442 #722271 #A130A0 #C846C6

Accessibility & contrast

On white

9.62
#722271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#722271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##722271#FFFFFF#000000##FFFFFF
##7222711.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)
#173E73
Deuteranopia (green-blind)
#37496F
Tritanopia (blue-blind)
#762D46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #722271;
/* rgb */ color: rgb(114, 34, 113);
/* oklch */ color: oklch(40.9% 0.148 328.4);
Tailwind
colors: {
  custom: {
    50: '#9d659a',
    500: '#722271',
    950: '#000000',
  },
}
SCSS
$custom: #722271;
$custom-light: #9d659a;
$custom-dark: #000000;
JSON
{
  "hex": "#722271",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 300.75,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40893,
    "c": 0.14801,
    "h": 328.4
  },
  "luminance": 0.05914
}

Semantic roles & 50–950 ramp

primary
#722271
secondary
#4BA54C
accent
#DD4C4A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #722271

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

Preview Lab → · Contrast checker → · Palette generator →

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