#71259D#71259D

#71259D is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.185 H 309.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#71259D
RGBrgb(113, 37, 157)
HSLhsl(278, 62%, 38%)
HSVhsv(278, 76%, 62%)
CMYKcmyk(28%, 76.4%, 0%, 38.4%)
CIE-LABlab(32.41, 52.57, -50.31)
CIE-LCHlch(32.41, 72.76, 316.26°)
OKLaboklab(44.09% 0.1178 -0.1427)
OKLCHoklch(44.09% 0.185 309.6)
XYZxyz(13.5562, 7.2684, 32.5806)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71259D #519D25
analogous
#35259D #71259D #9D258D
triadic
#71259D #9D7125 #259D71
tetradic
#71259D #9D3525 #519D25 #258D9D
square
#71259D #9D3525 #519D25 #258D9D
split-complementary
#71259D #8D9D25 #259D35
monochromatic
#2A0E3A #4D196B #71259D #9531CE #AE62DA

Accessibility & contrast

On white

8.56
#71259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71259D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71259D#FFFFFF#000000##FFFFFF
##71259D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#6B4260
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #71259d;
/* rgb */ color: rgb(113, 37, 157);
/* oklch */ color: oklch(44.1% 0.185 309.6);
Tailwind
colors: {
  custom: {
    50: '#9e68bb',
    500: '#71259d',
    950: '#000000',
  },
}
SCSS
$custom: #71259d;
$custom-light: #9e68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#71259d",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 278,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44092,
    "c": 0.18503,
    "h": 309.6
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#71259D
secondary
#82BF5E
accent
#E5437E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71259D

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

Preview Lab → · Contrast checker → · Palette generator →

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