#71228E#71228E

#71228E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.174 H 315.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#71228E
RGBrgb(113, 34, 142)
HSLhsl(284, 61%, 35%)
HSVhsv(284, 76%, 56%)
CMYKcmyk(20.4%, 76.1%, 0%, 44.3%)
CIE-LABlab(30.90, 50.51, -43.56)
CIE-LCHlch(30.90, 66.70, 319.22°)
OKLaboklab(42.68% 0.1232 -0.1228)
OKLCHoklch(42.68% 0.174 315.1)
XYZxyz(12.2638, 6.6082, 26.2154)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71228E #3F8E22
analogous
#3B228E #71228E #8E2275
triadic
#71228E #8E7122 #228E71
tetradic
#71228E #8E3B22 #3F8E22 #22758E
square
#71228E #8E3B22 #3F8E22 #22758E
split-complementary
#71228E #758E22 #228E3B
monochromatic
#220A2B #4A165D #71228E #982EBF #B354D6

Accessibility & contrast

On white

9.05
#71228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#71228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71228E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71228E#FFFFFF#000000##FFFFFF
##71228E1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#6F3A56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71228e;
/* rgb */ color: rgb(113, 34, 142);
/* oklch */ color: oklch(42.7% 0.174 315.1);
Tailwind
colors: {
  custom: {
    50: '#9e66b0',
    500: '#71228e',
    950: '#000000',
  },
}
SCSS
$custom: #71228e;
$custom-light: #9e66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71228e",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 283.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42675,
    "c": 0.174,
    "h": 315.1
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#71228E
secondary
#6EBA52
accent
#E4436F
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71228E

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

Preview Lab → · Contrast checker → · Palette generator →

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