#71229F#71229F

#71229F is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.190 H 309.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#71229F
RGBrgb(113, 34, 159)
HSLhsl(278, 65%, 38%)
HSVhsv(278, 79%, 62%)
CMYKcmyk(28.9%, 78.6%, 0%, 37.6%)
CIE-LABlab(32.16, 54.16, -51.92)
CIE-LCHlch(32.16, 75.03, 316.21°)
OKLaboklab(43.97% 0.1201 -0.1474)
OKLCHoklch(43.97% 0.19 309.2)
XYZxyz(13.6388, 7.1582, 33.4574)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71229F #509F22
analogous
#32229F #71229F #9F228E
triadic
#71229F #9F7122 #229F71
tetradic
#71229F #9F3222 #509F22 #228E9F
square
#71229F #9F3222 #509F22 #228E9F
split-complementary
#71229F #8E9F22 #229F32
monochromatic
#290C3A #4D176D #71229F #952DD1 #AE5FDD

Accessibility & contrast

On white

8.64
#71229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#71229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71229F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71229F#FFFFFF#000000##FFFFFF
##71229F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#6A4160
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #71229f;
/* rgb */ color: rgb(113, 34, 159);
/* oklch */ color: oklch(44.0% 0.190 309.2);
Tailwind
colors: {
  custom: {
    50: '#9f67bc',
    500: '#71229f',
    950: '#000000',
  },
}
SCSS
$custom: #71229f;
$custom-light: #9f67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#71229f",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 277.92,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43968,
    "c": 0.19013,
    "h": 309.2
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#71229F
secondary
#81C15B
accent
#E8407E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #71229F

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

Preview Lab → · Contrast checker → · Palette generator →

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