#71299B#71299B

#71299B is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.178 H 309.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#71299B
RGBrgb(113, 41, 155)
HSLhsl(278, 58%, 38%)
HSVhsv(278, 74%, 61%)
CMYKcmyk(27.1%, 73.5%, 0%, 39.2%)
CIE-LABlab(32.84, 50.48, -48.39)
CIE-LCHlch(32.84, 69.93, 316.21°)
OKLaboklab(44.35% 0.1143 -0.1371)
OKLCHoklch(44.35% 0.178 309.8)
XYZxyz(13.5182, 7.4634, 31.7324)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71299B #539B29
analogous
#38299B #71299B #9B298C
triadic
#71299B #9B7129 #299B71
tetradic
#71299B #9B3829 #539B29 #298C9B
square
#71299B #9B3829 #539B29 #298C9B
split-complementary
#71299B #8C9B29 #299B38
monochromatic
#2A0F3A #4E1C6B #71299B #9437CA #AE67D7

Accessibility & contrast

On white

8.42
#71299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#71299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71299B
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71299B#FFFFFF#000000##FFFFFF
##71299B1.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)
#004A9E
Deuteranopia (green-blind)
#104E99
Tritanopia (blue-blind)
#6B4360
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #71299b;
/* rgb */ color: rgb(113, 41, 155);
/* oklch */ color: oklch(44.3% 0.178 309.8);
Tailwind
colors: {
  custom: {
    50: '#9e6ab9',
    500: '#71299b',
    950: '#000000',
  },
}
SCSS
$custom: #71299b;
$custom-light: #9e6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#71299b",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 277.895,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44349,
    "c": 0.17846,
    "h": 309.8
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#71299B
secondary
#84BD63
accent
#E14680
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71299B

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

Preview Lab → · Contrast checker → · Palette generator →

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