#71259C#71259C

#71259C is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.184 H 309.9°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#71259C
RGBrgb(113, 37, 156)
HSLhsl(278, 62%, 38%)
HSVhsv(278, 76%, 61%)
CMYKcmyk(27.6%, 76.3%, 0%, 38.8%)
CIE-LABlab(32.33, 52.35, -49.82)
CIE-LCHlch(32.33, 72.27, 316.42°)
OKLaboklab(44.02% 0.118 -0.1412)
OKLCHoklch(44.02% 0.184 309.9)
XYZxyz(13.4712, 7.2344, 32.1328)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71259C #509C25
analogous
#35259C #71259C #9C258C
triadic
#71259C #9C7125 #259C71
tetradic
#71259C #9C3525 #509C25 #258C9C
square
#71259C #9C3525 #509C25 #258C9C
split-complementary
#71259C #8C9C25 #259C35
monochromatic
#290E39 #4D196B #71259C #9531CD #AE62DA

Accessibility & contrast

On white

8.58
#71259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#71259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71259C
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71259C#FFFFFF#000000##FFFFFF
##71259C1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#034D9A
Tritanopia (blue-blind)
#6B415F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #71259c;
/* rgb */ color: rgb(113, 37, 156);
/* oklch */ color: oklch(44.0% 0.184 309.9);
Tailwind
colors: {
  custom: {
    50: '#9e68ba',
    500: '#71259c',
    950: '#000000',
  },
}
SCSS
$custom: #71259c;
$custom-light: #9e68ba;
$custom-dark: #000000;
JSON
{
  "hex": "#71259c",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 278.319,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44015,
    "c": 0.18407,
    "h": 309.9
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#71259C
secondary
#81BF5E
accent
#E5437D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71259C

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

Preview Lab → · Contrast checker → · Palette generator →

#71259C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva