#71228C#71228C

#71228C is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.172 H 315.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#71228C
RGBrgb(113, 34, 140)
HSLhsl(285, 61%, 34%)
HSVhsv(285, 76%, 55%)
CMYKcmyk(19.3%, 75.7%, 0%, 45.1%)
CIE-LABlab(30.76, 50.09, -42.55)
CIE-LCHlch(30.76, 65.73, 319.65°)
OKLaboklab(42.53% 0.1235 -0.1199)
OKLCHoklch(42.53% 0.172 315.8)
XYZxyz(12.1150, 6.5487, 25.4317)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71228C #3D8C22
analogous
#3C228C #71228C #8C2272
triadic
#71228C #8C7122 #228C71
tetradic
#71228C #8C3C22 #3D8C22 #22728C
square
#71228C #8C3C22 #3D8C22 #22728C
split-complementary
#71228C #728C22 #228C3C
monochromatic
#220A2A #49165B #71228C #992EBD #B453D5

Accessibility & contrast

On white

9.09
#71228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#71228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71228C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71228C#FFFFFF#000000##FFFFFF
##71228C1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#204B8A
Tritanopia (blue-blind)
#6F3955
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71228c;
/* rgb */ color: rgb(113, 34, 140);
/* oklch */ color: oklch(42.5% 0.172 315.8);
Tailwind
colors: {
  custom: {
    50: '#9d66ae',
    500: '#71228c',
    950: '#000000',
  },
}
SCSS
$custom: #71228c;
$custom-light: #9d66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#71228c",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 284.717,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4253,
    "c": 0.17212,
    "h": 315.8
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#71228C
secondary
#6BB951
accent
#E4446D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71228C

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

Preview Lab → · Contrast checker → · Palette generator →

#71228C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva