#71229B#71229B

#71229B is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.186 H 310.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#71229B
RGBrgb(113, 34, 155)
HSLhsl(279, 64%, 37%)
HSVhsv(279, 78%, 61%)
CMYKcmyk(27.1%, 78.1%, 0%, 39.2%)
CIE-LABlab(31.86, 53.29, -49.99)
CIE-LCHlch(31.86, 73.06, 316.83°)
OKLaboklab(43.65% 0.121 -0.1417)
OKLCHoklch(43.65% 0.186 310.5)
XYZxyz(13.2973, 7.0216, 31.6588)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71229B #4C9B22
analogous
#35229B #71229B #9B2288
triadic
#71229B #9B7122 #229B71
tetradic
#71229B #9B3522 #4C9B22 #22889B
square
#71229B #9B3522 #4C9B22 #22889B
split-complementary
#71229B #889B22 #229B35
monochromatic
#280C37 #4C1769 #71229B #962DCD #AF5CDB

Accessibility & contrast

On white

8.73
#71229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71229B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71229B#FFFFFF#000000##FFFFFF
##71229B1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#6B3F5E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #71229b;
/* rgb */ color: rgb(113, 34, 155);
/* oklch */ color: oklch(43.7% 0.186 310.5);
Tailwind
colors: {
  custom: {
    50: '#9e66b9',
    500: '#71229b',
    950: '#000000',
  },
}
SCSS
$custom: #71229b;
$custom-light: #9e66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#71229b",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 279.174,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43654,
    "c": 0.18632,
    "h": 310.5
  },
  "luminance": 0.07021
}

Semantic roles & 50–950 ramp

primary
#71229B
secondary
#7DC059
accent
#E7417A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #71229B

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

Preview Lab → · Contrast checker → · Palette generator →

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