#71299D#71299D

#71299D is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.180 H 309.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#71299D
RGBrgb(113, 41, 157)
HSLhsl(277, 59%, 39%)
HSVhsv(277, 74%, 62%)
CMYKcmyk(28%, 73.9%, 0%, 38.4%)
CIE-LABlab(32.99, 50.93, -49.37)
CIE-LCHlch(32.99, 70.93, 315.89°)
OKLaboklab(44.5% 0.114 -0.1399)
OKLCHoklch(44.5% 0.18 309.2)
XYZxyz(13.6876, 7.5312, 32.6244)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71299D #559D29
analogous
#37299D #71299D #9D298F
triadic
#71299D #9D7129 #299D71
tetradic
#71299D #9D3729 #559D29 #298F9D
square
#71299D #9D3729 #559D29 #298F9D
split-complementary
#71299D #8F9D29 #299D37
monochromatic
#2B103C #4E1C6C #71299D #9338CB #AE69D8

Accessibility & contrast

On white

8.38
#71299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71299D
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71299D#FFFFFF#000000##FFFFFF
##71299D1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#094E9B
Tritanopia (blue-blind)
#6A4461
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #71299d;
/* rgb */ color: rgb(113, 41, 157);
/* oklch */ color: oklch(44.5% 0.180 309.2);
Tailwind
colors: {
  custom: {
    50: '#9e6abb',
    500: '#71299d',
    950: '#000000',
  },
}
SCSS
$custom: #71299d;
$custom-light: #9e6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#71299d",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 277.241,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.445,
    "c": 0.18047,
    "h": 309.2
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#71299D
secondary
#86BE64
accent
#E24681
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71299D

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

Preview Lab → · Contrast checker → · Palette generator →

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