#71289B#71289B

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

Color values

HEX#71289B
RGBrgb(113, 40, 155)
HSLhsl(278, 59%, 38%)
HSVhsv(278, 74%, 61%)
CMYKcmyk(27.1%, 74.2%, 0%, 39.2%)
CIE-LABlab(32.69, 50.90, -48.64)
CIE-LCHlch(32.69, 70.40, 316.30°)
OKLaboklab(44.24% 0.1153 -0.1378)
OKLCHoklch(44.24% 0.18 309.9)
XYZxyz(13.4841, 7.3951, 31.7211)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71289B #529B28
analogous
#37289B #71289B #9B288B
triadic
#71289B #9B7128 #289B71
tetradic
#71289B #9B3728 #529B28 #288B9B
square
#71289B #9B3728 #529B28 #288B9B
split-complementary
#71289B #8B9B28 #289B37
monochromatic
#2A0F3A #4E1B6A #71289B #9435CB #AE66D7

Accessibility & contrast

On white

8.47
#71289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#71289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71289B
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71289B#FFFFFF#000000##FFFFFF
##71289B1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#0D4E99
Tritanopia (blue-blind)
#6B425F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #71289b;
/* rgb */ color: rgb(113, 40, 155);
/* oklch */ color: oklch(44.2% 0.180 309.9);
Tailwind
colors: {
  custom: {
    50: '#9e69b9',
    500: '#71289b',
    950: '#000000',
  },
}
SCSS
$custom: #71289b;
$custom-light: #9e69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#71289b",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 278.087,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44243,
    "c": 0.17965,
    "h": 309.9
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#71289B
secondary
#83BD61
accent
#E2467F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71289B

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

Preview Lab → · Contrast checker → · Palette generator →

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