#71229D#71229D

#71229D is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.188 H 309.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#71229D
RGBrgb(113, 34, 157)
HSLhsl(279, 64%, 37%)
HSVhsv(279, 78%, 62%)
CMYKcmyk(28%, 78.3%, 0%, 38.4%)
CIE-LABlab(32.01, 53.72, -50.96)
CIE-LCHlch(32.01, 74.05, 316.52°)
OKLaboklab(43.81% 0.1205 -0.1446)
OKLCHoklch(43.81% 0.188 309.8)
XYZxyz(13.4667, 7.0894, 32.5507)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71229D #4E9D22
analogous
#34229D #71229D #9D228B
triadic
#71229D #9D7122 #229D71
tetradic
#71229D #9D3422 #4E9D22 #228B9D
square
#71229D #9D3422 #4E9D22 #228B9D
split-complementary
#71229D #8B9D22 #229D34
monochromatic
#290C38 #4D176B #71229D #952DCF #AF5DDC

Accessibility & contrast

On white

8.69
#71229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#71229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71229D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71229D#FFFFFF#000000##FFFFFF
##71229D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#6B405F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #71229d;
/* rgb */ color: rgb(113, 34, 157);
/* oklch */ color: oklch(43.8% 0.188 309.8);
Tailwind
colors: {
  custom: {
    50: '#9e67bb',
    500: '#71229d',
    950: '#000000',
  },
}
SCSS
$custom: #71229d;
$custom-light: #9e67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#71229d",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 278.537,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4381,
    "c": 0.18822,
    "h": 309.8
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#71229D
secondary
#7FC15A
accent
#E7407C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #71229D

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

Preview Lab → · Contrast checker → · Palette generator →

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