#71258C#71258C

#71258C is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.169 H 315.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#71258C
RGBrgb(113, 37, 140)
HSLhsl(284, 58%, 35%)
HSVhsv(284, 74%, 55%)
CMYKcmyk(19.3%, 73.6%, 0%, 45.1%)
CIE-LABlab(31.18, 48.89, -41.87)
CIE-LCHlch(31.18, 64.37, 319.42°)
OKLaboklab(42.83% 0.1204 -0.1179)
OKLCHoklch(42.83% 0.169 315.6)
XYZxyz(12.2045, 6.7278, 25.4616)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71258C #408C25
analogous
#3E258C #71258C #8C2574
triadic
#71258C #8C7125 #258C71
tetradic
#71258C #8C3E25 #408C25 #25748C
square
#71258C #8C3E25 #408C25 #25748C
split-complementary
#71258C #748C25 #258C3E
monochromatic
#230B2B #4A185C #71258C #9832BC #B358D3

Accessibility & contrast

On white

8.95
#71258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#71258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71258C
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71258C#FFFFFF#000000##FFFFFF
##71258C1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#234B8A
Tritanopia (blue-blind)
#6F3A56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71258c;
/* rgb */ color: rgb(113, 37, 140);
/* oklch */ color: oklch(42.8% 0.169 315.6);
Tailwind
colors: {
  custom: {
    50: '#9d67ae',
    500: '#71258c',
    950: '#000000',
  },
}
SCSS
$custom: #71258c;
$custom-light: #9d67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#71258c",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 284.272,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4283,
    "c": 0.16855,
    "h": 315.6
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#71258C
secondary
#6FB855
accent
#E1466F
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71258C

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

Preview Lab → · Contrast checker → · Palette generator →

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