#71279F#71279F

#71279F is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.185 H 308.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#71279F
RGBrgb(113, 39, 159)
HSLhsl(277, 61%, 39%)
HSVhsv(277, 75%, 62%)
CMYKcmyk(28.9%, 75.5%, 0%, 37.6%)
CIE-LABlab(32.84, 52.21, -50.82)
CIE-LCHlch(32.84, 72.86, 315.78°)
OKLaboklab(44.45% 0.1156 -0.1442)
OKLCHoklch(44.45% 0.185 308.7)
XYZxyz(13.7923, 7.4652, 33.5085)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71279F #559F27
analogous
#35279F #71279F #9F2791
triadic
#71279F #9F7127 #279F71
tetradic
#71279F #9F3527 #559F27 #27919F
square
#71279F #9F3527 #559F27 #27919F
split-complementary
#71279F #919F27 #279F35
monochromatic
#2B0F3D #4E1B6E #71279F #9336CE #AE67DA

Accessibility & contrast

On white

8.42
#71279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#71279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71279F
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71279F#FFFFFF#000000##FFFFFF
##71279F1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #71279f;
/* rgb */ color: rgb(113, 39, 159);
/* oklch */ color: oklch(44.4% 0.185 308.7);
Tailwind
colors: {
  custom: {
    50: '#9e69bc',
    500: '#71279f',
    950: '#000000',
  },
}
SCSS
$custom: #71279f;
$custom-light: #9e69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#71279f",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 277,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44446,
    "c": 0.18478,
    "h": 308.7
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#71279F
secondary
#86C062
accent
#E44481
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71279F

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

Preview Lab → · Contrast checker → · Palette generator →

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