#71229C#71229C

#71229C is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.187 H 310.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#71229C
RGBrgb(113, 34, 156)
HSLhsl(279, 64%, 37%)
HSVhsv(279, 78%, 61%)
CMYKcmyk(27.6%, 78.2%, 0%, 38.8%)
CIE-LABlab(31.93, 53.51, -50.47)
CIE-LCHlch(31.93, 73.55, 316.67°)
OKLaboklab(43.73% 0.1208 -0.1431)
OKLCHoklch(43.73% 0.187 310.2)
XYZxyz(13.3816, 7.0554, 32.1029)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71229C #4D9C22
analogous
#34229C #71229C #9C228A
triadic
#71229C #9C7122 #229C71
tetradic
#71229C #9C3422 #4D9C22 #228A9C
square
#71229C #9C3422 #4D9C22 #228A9C
split-complementary
#71229C #8A9C22 #229C34
monochromatic
#280C38 #4D176A #71229C #952DCE #AF5DDC

Accessibility & contrast

On white

8.71
#71229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#71229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71229C
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71229C#FFFFFF#000000##FFFFFF
##71229C1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#6B405E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #71229c;
/* rgb */ color: rgb(113, 34, 156);
/* oklch */ color: oklch(43.7% 0.187 310.2);
Tailwind
colors: {
  custom: {
    50: '#9e67ba',
    500: '#71229c',
    950: '#000000',
  },
}
SCSS
$custom: #71229c;
$custom-light: #9e67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#71229c",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 278.852,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43732,
    "c": 0.18727,
    "h": 310.2
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#71229C
secondary
#7EC05A
accent
#E7417B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #71229C

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

Preview Lab → · Contrast checker → · Palette generator →

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