#71279B#71279B

#71279B is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.181 H 310.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#71279B
RGBrgb(113, 39, 155)
HSLhsl(278, 60%, 38%)
HSVhsv(278, 75%, 61%)
CMYKcmyk(27.1%, 74.8%, 0%, 39.2%)
CIE-LABlab(32.54, 51.32, -48.87)
CIE-LCHlch(32.54, 70.87, 316.40°)
OKLaboklab(44.14% 0.1163 -0.1385)
OKLCHoklch(44.14% 0.181 310)
XYZxyz(13.4508, 7.3286, 31.7100)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71279B #519B27
analogous
#37279B #71279B #9B278B
triadic
#71279B #9B7127 #279B71
tetradic
#71279B #9B3727 #519B27 #278B9B
square
#71279B #9B3727 #519B27 #278B9B
split-complementary
#71279B #8B9B27 #279B37
monochromatic
#2A0E39 #4D1B6A #71279B #9533CC #AE64D8

Accessibility & contrast

On white

8.52
#71279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#71279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71279B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71279B#FFFFFF#000000##FFFFFF
##71279B1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#0B4E99
Tritanopia (blue-blind)
#6B425F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #71279b;
/* rgb */ color: rgb(113, 39, 155);
/* oklch */ color: oklch(44.1% 0.181 310.0);
Tailwind
colors: {
  custom: {
    50: '#9e69b9',
    500: '#71279b',
    950: '#000000',
  },
}
SCSS
$custom: #71279b;
$custom-light: #9e69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#71279b",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 278.276,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44139,
    "c": 0.18082,
    "h": 310
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#71279B
secondary
#82BE60
accent
#E3457E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71279B

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

Preview Lab → · Contrast checker → · Palette generator →

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