#71289A#71289A

#71289A is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.179 H 310.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#71289A
RGBrgb(113, 40, 154)
HSLhsl(278, 59%, 38%)
HSVhsv(278, 74%, 60%)
CMYKcmyk(26.6%, 74%, 0%, 39.6%)
CIE-LABlab(32.62, 50.68, -48.15)
CIE-LCHlch(32.62, 69.90, 316.47°)
OKLaboklab(44.17% 0.1154 -0.1363)
OKLCHoklch(44.17% 0.179 310.3)
XYZxyz(13.4004, 7.3617, 31.2806)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71289A #519A28
analogous
#38289A #71289A #9A288A
triadic
#71289A #9A7128 #289A71
tetradic
#71289A #9A3828 #519A28 #288A9A
square
#71289A #9A3828 #519A28 #288A9A
split-complementary
#71289A #8A9A28 #289A38
monochromatic
#2A0F39 #4D1B69 #71289A #9535CA #AE65D7

Accessibility & contrast

On white

8.49
#71289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#71289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71289A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71289A#FFFFFF#000000##FFFFFF
##71289A1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#104E98
Tritanopia (blue-blind)
#6B425F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #71289a;
/* rgb */ color: rgb(113, 40, 154);
/* oklch */ color: oklch(44.2% 0.179 310.3);
Tailwind
colors: {
  custom: {
    50: '#9e69b8',
    500: '#71289a',
    950: '#000000',
  },
}
SCSS
$custom: #71289a;
$custom-light: #9e69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#71289a",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 278.421,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44168,
    "c": 0.17866,
    "h": 310.3
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#71289A
secondary
#82BD61
accent
#E2467E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #71289A

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

Preview Lab → · Contrast checker → · Palette generator →

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