#71289F#71289F

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

Color values

HEX#71289F
RGBrgb(113, 40, 159)
HSLhsl(277, 60%, 39%)
HSVhsv(277, 75%, 62%)
CMYKcmyk(28.9%, 74.8%, 0%, 37.6%)
CIE-LABlab(32.99, 51.80, -50.58)
CIE-LCHlch(32.99, 72.40, 315.68°)
OKLaboklab(44.55% 0.1146 -0.1435)
OKLCHoklch(44.55% 0.184 308.6)
XYZxyz(13.8256, 7.5317, 33.5196)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71289F #569F28
analogous
#36289F #71289F #9F2892
triadic
#71289F #9F7128 #289F71
tetradic
#71289F #9F3628 #569F28 #28929F
square
#71289F #9F3628 #569F28 #28929F
split-complementary
#71289F #929F28 #289F36
monochromatic
#2B0F3D #4E1C6E #71289F #9337CD #AD68D9

Accessibility & contrast

On white

8.38
#71289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#71289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71289F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71289F#FFFFFF#000000##FFFFFF
##71289F1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#6A4461
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #71289f;
/* rgb */ color: rgb(113, 40, 159);
/* oklch */ color: oklch(44.5% 0.184 308.6);
Tailwind
colors: {
  custom: {
    50: '#9e69bc',
    500: '#71289f',
    950: '#000000',
  },
}
SCSS
$custom: #71289f;
$custom-light: #9e69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#71289f",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 276.807,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44548,
    "c": 0.18365,
    "h": 308.6
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#71289F
secondary
#87BF64
accent
#E34582
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71289F

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

Preview Lab → · Contrast checker → · Palette generator →

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