#71229A#71229A

#71229A is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.185 H 310.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#71229A
RGBrgb(113, 34, 154)
HSLhsl(280, 64%, 37%)
HSVhsv(280, 78%, 60%)
CMYKcmyk(26.6%, 77.9%, 0%, 39.6%)
CIE-LABlab(31.78, 53.07, -49.50)
CIE-LCHlch(31.78, 72.57, 316.99°)
OKLaboklab(43.58% 0.1212 -0.1403)
OKLCHoklch(43.58% 0.185 310.8)
XYZxyz(13.2137, 6.9882, 31.2184)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71229A #4B9A22
analogous
#35229A #71229A #9A2287
triadic
#71229A #9A7122 #229A71
tetradic
#71229A #9A3522 #4B9A22 #22879A
square
#71229A #9A3522 #4B9A22 #22879A
split-complementary
#71229A #879A22 #229A35
monochromatic
#270C36 #4C1768 #71229A #962DCC #AF5BDB

Accessibility & contrast

On white

8.76
#71229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#71229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71229A
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71229A#FFFFFF#000000##FFFFFF
##71229A1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#024C98
Tritanopia (blue-blind)
#6B3F5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #71229a;
/* rgb */ color: rgb(113, 34, 154);
/* oklch */ color: oklch(43.6% 0.185 310.8);
Tailwind
colors: {
  custom: {
    50: '#9e66b9',
    500: '#71229a',
    950: '#000000',
  },
}
SCSS
$custom: #71229a;
$custom-light: #9e66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#71229a",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 279.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43577,
    "c": 0.18537,
    "h": 310.8
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#71229A
secondary
#7CBF58
accent
#E7417A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #71229A

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

Preview Lab → · Contrast checker → · Palette generator →

#71229A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva