#71299E#71299E

#71299E is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.181 H 308.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#71299E
RGBrgb(113, 41, 158)
HSLhsl(277, 59%, 39%)
HSVhsv(277, 74%, 62%)
CMYKcmyk(28.5%, 74.1%, 0%, 38%)
CIE-LABlab(33.06, 51.16, -49.86)
CIE-LCHlch(33.06, 71.43, 315.74°)
OKLaboklab(44.58% 0.1138 -0.1414)
OKLCHoklch(44.58% 0.181 308.8)
XYZxyz(13.7733, 7.5655, 33.0758)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71299E #569E29
analogous
#37299E #71299E #9E2991
triadic
#71299E #9E7129 #299E71
tetradic
#71299E #9E3729 #569E29 #29919E
square
#71299E #9E3729 #569E29 #29919E
split-complementary
#71299E #919E29 #299E37
monochromatic
#2B103D #4E1C6D #71299E #9339CC #AD69D8

Accessibility & contrast

On white

8.36
#71299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#71299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71299E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71299E#FFFFFF#000000##FFFFFF
##71299E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#064F9C
Tritanopia (blue-blind)
#6A4461
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #71299e;
/* rgb */ color: rgb(113, 41, 158);
/* oklch */ color: oklch(44.6% 0.181 308.8);
Tailwind
colors: {
  custom: {
    50: '#9e6abb',
    500: '#71299e',
    950: '#000000',
  },
}
SCSS
$custom: #71299e;
$custom-light: #9e6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#71299e",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 276.923,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44576,
    "c": 0.18148,
    "h": 308.8
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#71299E
secondary
#87BF64
accent
#E24682
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71299E

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

Preview Lab → · Contrast checker → · Palette generator →

#71299E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva