#71228D#71228D

#71228D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.173 H 315.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#71228D
RGBrgb(113, 34, 141)
HSLhsl(284, 61%, 34%)
HSVhsv(284, 76%, 55%)
CMYKcmyk(19.9%, 75.9%, 0%, 44.7%)
CIE-LABlab(30.83, 50.30, -43.06)
CIE-LCHlch(30.83, 66.22, 319.44°)
OKLaboklab(42.6% 0.1234 -0.1214)
OKLCHoklch(42.6% 0.173 315.5)
XYZxyz(12.1890, 6.5783, 25.8218)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71228D #3E8D22
analogous
#3C228D #71228D #8D2274
triadic
#71228D #8D7122 #228D71
tetradic
#71228D #8D3C22 #3E8D22 #22748D
square
#71228D #8D3C22 #3E8D22 #22748D
split-complementary
#71228D #748D22 #228D3C
monochromatic
#220A2A #49165C #71228D #992EBE #B454D6

Accessibility & contrast

On white

9.07
#71228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71228D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71228D#FFFFFF#000000##FFFFFF
##71228D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#1F4B8B
Tritanopia (blue-blind)
#6F3956
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71228d;
/* rgb */ color: rgb(113, 34, 141);
/* oklch */ color: oklch(42.6% 0.173 315.5);
Tailwind
colors: {
  custom: {
    50: '#9e66af',
    500: '#71228d',
    950: '#000000',
  },
}
SCSS
$custom: #71228d;
$custom-light: #9e66af;
$custom-dark: #000000;
JSON
{
  "hex": "#71228d",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 284.299,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42602,
    "c": 0.17306,
    "h": 315.5
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#71228D
secondary
#6DB951
accent
#E4446E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71228D

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

Preview Lab → · Contrast checker → · Palette generator →

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