#71248E#71248E

#71248E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.172 H 314.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#71248E
RGBrgb(113, 36, 142)
HSLhsl(284, 60%, 35%)
HSVhsv(284, 75%, 56%)
CMYKcmyk(20.4%, 74.6%, 0%, 44.3%)
CIE-LABlab(31.17, 49.72, -43.12)
CIE-LCHlch(31.17, 65.81, 319.07°)
OKLaboklab(42.87% 0.1212 -0.1215)
OKLCHoklch(42.87% 0.172 314.9)
XYZxyz(12.3226, 6.7259, 26.2351)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71248E #418E24
analogous
#3C248E #71248E #8E2476
triadic
#71248E #8E7124 #248E71
tetradic
#71248E #8E3C24 #418E24 #24768E
square
#71248E #8E3C24 #418E24 #24768E
split-complementary
#71248E #768E24 #248E3C
monochromatic
#230B2C #4A185D #71248E #9830BF #B258D5

Accessibility & contrast

On white

8.96
#71248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#71248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71248E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71248E#FFFFFF#000000##FFFFFF
##71248E1.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#204B8C
Tritanopia (blue-blind)
#6F3B57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71248e;
/* rgb */ color: rgb(113, 36, 142);
/* oklch */ color: oklch(42.9% 0.172 314.9);
Tailwind
colors: {
  custom: {
    50: '#9d67b0',
    500: '#71248e',
    950: '#000000',
  },
}
SCSS
$custom: #71248e;
$custom-light: #9d67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71248e",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 283.585,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42871,
    "c": 0.17167,
    "h": 314.9
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#71248E
secondary
#70B955
accent
#E34570
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71248E

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

Preview Lab → · Contrast checker → · Palette generator →

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