#71258F#71258F

#71258F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.171 H 314.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#71258F
RGBrgb(113, 37, 143)
HSLhsl(283, 59%, 35%)
HSVhsv(283, 74%, 56%)
CMYKcmyk(21%, 74.1%, 0%, 43.9%)
CIE-LABlab(31.39, 49.53, -43.39)
CIE-LCHlch(31.39, 65.85, 318.78°)
OKLaboklab(43.05% 0.1201 -0.1224)
OKLCHoklch(43.05% 0.171 314.5)
XYZxyz(12.4287, 6.8174, 26.6425)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71258F #438F25
analogous
#3C258F #71258F #8F2578
triadic
#71258F #8F7125 #258F71
tetradic
#71258F #8F3C25 #438F25 #25788F
square
#71258F #8F3C25 #438F25 #25788F
split-complementary
#71258F #788F25 #258F3C
monochromatic
#240C2E #4B185E #71258F #9732C0 #B25AD4

Accessibility & contrast

On white

8.89
#71258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#71258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71258F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71258F#FFFFFF#000000##FFFFFF
##71258F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#1F4C8D
Tritanopia (blue-blind)
#6E3C58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #71258f;
/* rgb */ color: rgb(113, 37, 143);
/* oklch */ color: oklch(43.0% 0.171 314.5);
Tailwind
colors: {
  custom: {
    50: '#9d67b0',
    500: '#71258f',
    950: '#000000',
  },
}
SCSS
$custom: #71258f;
$custom-light: #9d67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71258f",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 283.019,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43045,
    "c": 0.17145,
    "h": 314.5
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#71258F
secondary
#73B957
accent
#E24672
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #71258F

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

Preview Lab → · Contrast checker → · Palette generator →

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