#71279D#71279D

#71279D is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.183 H 309.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#71279D
RGBrgb(113, 39, 157)
HSLhsl(278, 60%, 38%)
HSVhsv(278, 75%, 62%)
CMYKcmyk(28%, 75.2%, 0%, 38.4%)
CIE-LABlab(32.69, 51.77, -49.85)
CIE-LCHlch(32.69, 71.86, 316.08°)
OKLaboklab(44.29% 0.1159 -0.1413)
OKLCHoklch(44.29% 0.183 309.4)
XYZxyz(13.6201, 7.3963, 32.6019)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71279D #539D27
analogous
#36279D #71279D #9D278E
triadic
#71279D #9D7127 #279D71
tetradic
#71279D #9D3627 #539D27 #278E9D
square
#71279D #9D3627 #539D27 #278E9D
split-complementary
#71279D #8E9D27 #279D36
monochromatic
#2A0F3B #4E1B6C #71279D #9435CD #AE66D9

Accessibility & contrast

On white

8.47
#71279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#71279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71279D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71279D#FFFFFF#000000##FFFFFF
##71279D1.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)
#004AA0
Deuteranopia (green-blind)
#044E9B
Tritanopia (blue-blind)
#6A4360
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #71279d;
/* rgb */ color: rgb(113, 39, 157);
/* oklch */ color: oklch(44.3% 0.183 309.4);
Tailwind
colors: {
  custom: {
    50: '#9e69bb',
    500: '#71279d',
    950: '#000000',
  },
}
SCSS
$custom: #71279d;
$custom-light: #9e69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#71279d",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 277.627,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44292,
    "c": 0.1828,
    "h": 309.4
  },
  "luminance": 0.07396
}

Semantic roles & 50–950 ramp

primary
#71279D
secondary
#84BF61
accent
#E34480
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71279D

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

Preview Lab → · Contrast checker → · Palette generator →

#71279D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva