#71259E#71259E

#71259E is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.186 H 309.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#71259E
RGBrgb(113, 37, 158)
HSLhsl(278, 62%, 38%)
HSVhsv(278, 77%, 62%)
CMYKcmyk(28.5%, 76.6%, 0%, 38%)
CIE-LABlab(32.49, 52.79, -50.79)
CIE-LCHlch(32.49, 73.26, 316.11°)
OKLaboklab(44.17% 0.1176 -0.1441)
OKLCHoklch(44.17% 0.186 309.2)
XYZxyz(13.6419, 7.3027, 33.0320)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71259E #529E25
analogous
#34259E #71259E #9E258E
triadic
#71259E #9E7125 #259E71
tetradic
#71259E #9E3425 #529E25 #258E9E
square
#71259E #9E3425 #529E25 #258E9E
split-complementary
#71259E #8E9E25 #259E34
monochromatic
#2A0E3B #4E196C #71259E #9431CF #AE63DA

Accessibility & contrast

On white

8.54
#71259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#71259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71259E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71259E#FFFFFF#000000##FFFFFF
##71259E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#6A4260
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #71259e;
/* rgb */ color: rgb(113, 37, 158);
/* oklch */ color: oklch(44.2% 0.186 309.2);
Tailwind
colors: {
  custom: {
    50: '#9e68bb',
    500: '#71259e',
    950: '#000000',
  },
}
SCSS
$custom: #71259e;
$custom-light: #9e68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#71259e",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 277.686,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4417,
    "c": 0.18601,
    "h": 309.2
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#71259E
secondary
#83C05F
accent
#E5437F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71259E

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

Preview Lab → · Contrast checker → · Palette generator →

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