#71289E#71289E

#71289E is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.183 H 308.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#71289E
RGBrgb(113, 40, 158)
HSLhsl(277, 60%, 39%)
HSVhsv(277, 75%, 62%)
CMYKcmyk(28.5%, 74.7%, 0%, 38%)
CIE-LABlab(32.91, 51.58, -50.10)
CIE-LCHlch(32.91, 71.90, 315.83°)
OKLaboklab(44.47% 0.1148 -0.1421)
OKLCHoklch(44.47% 0.183 308.9)
XYZxyz(13.7391, 7.4972, 33.0644)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71289E #559E28
analogous
#36289E #71289E #9E2890
triadic
#71289E #9E7128 #289E71
tetradic
#71289E #9E3628 #559E28 #28909E
square
#71289E #9E3628 #559E28 #28909E
split-complementary
#71289E #909E28 #289E36
monochromatic
#2B0F3C #4E1C6D #71289E #9337CC #AE68D9

Accessibility & contrast

On white

8.40
#71289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#71289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71289E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71289E#FFFFFF#000000##FFFFFF
##71289E1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#034E9C
Tritanopia (blue-blind)
#6A4461
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #71289e;
/* rgb */ color: rgb(113, 40, 158);
/* oklch */ color: oklch(44.5% 0.183 308.9);
Tailwind
colors: {
  custom: {
    50: '#9e69bb',
    500: '#71289e',
    950: '#000000',
  },
}
SCSS
$custom: #71289e;
$custom-light: #9e69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#71289e",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 277.119,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44471,
    "c": 0.18264,
    "h": 308.9
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#71289E
secondary
#86BF63
accent
#E34581
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71289E

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

Preview Lab → · Contrast checker → · Palette generator →

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