#71258A#71258A

#71258A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.167 H 316.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#71258A
RGBrgb(113, 37, 138)
HSLhsl(285, 58%, 34%)
HSVhsv(285, 73%, 54%)
CMYKcmyk(18.1%, 73.2%, 0%, 45.9%)
CIE-LABlab(31.04, 48.47, -40.86)
CIE-LCHlch(31.04, 63.39, 319.87°)
OKLaboklab(42.69% 0.1207 -0.1149)
OKLCHoklch(42.69% 0.167 316.4)
XYZxyz(12.0584, 6.6693, 24.6920)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71258A #3E8A25
analogous
#3F258A #71258A #8A2570
triadic
#71258A #8A7125 #258A71
tetradic
#71258A #8A3F25 #3E8A25 #25708A
square
#71258A #8A3F25 #3E8A25 #25708A
split-complementary
#71258A #708A25 #258A3F
monochromatic
#220B29 #49185A #71258A #9932BA #B457D2

Accessibility & contrast

On white

9.00
#71258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#71258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71258A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71258A#FFFFFF#000000##FFFFFF
##71258A1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#254B88
Tritanopia (blue-blind)
#6F3A55
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71258a;
/* rgb */ color: rgb(113, 37, 138);
/* oklch */ color: oklch(42.7% 0.167 316.4);
Tailwind
colors: {
  custom: {
    50: '#9d67ad',
    500: '#71258a',
    950: '#000000',
  },
}
SCSS
$custom: #71258a;
$custom-light: #9d67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#71258a",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 285.149,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42689,
    "c": 0.16663,
    "h": 316.4
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#71258A
secondary
#6DB754
accent
#E1476D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71258A

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

Preview Lab → · Contrast checker → · Palette generator →

#71258A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva