#71248D#71248D

#71248D is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.171 H 315.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#71248D
RGBrgb(113, 36, 141)
HSLhsl(284, 59%, 35%)
HSVhsv(284, 74%, 55%)
CMYKcmyk(19.9%, 74.5%, 0%, 44.7%)
CIE-LABlab(31.10, 49.51, -42.61)
CIE-LCHlch(31.10, 65.32, 319.28°)
OKLaboklab(42.8% 0.1214 -0.1201)
OKLCHoklch(42.8% 0.171 315.3)
XYZxyz(12.2479, 6.6960, 25.8414)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71248D #408D24
analogous
#3D248D #71248D #8D2475
triadic
#71248D #8D7124 #248D71
tetradic
#71248D #8D3D24 #408D24 #24758D
square
#71248D #8D3D24 #408D24 #24758D
split-complementary
#71248D #758D24 #248D3D
monochromatic
#230B2B #4A185C #71248D #9830BE #B357D4

Accessibility & contrast

On white

8.98
#71248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#71248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71248D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71248D#FFFFFF#000000##FFFFFF
##71248D1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#214B8B
Tritanopia (blue-blind)
#6F3A56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71248d;
/* rgb */ color: rgb(113, 36, 141);
/* oklch */ color: oklch(42.8% 0.171 315.3);
Tailwind
colors: {
  custom: {
    50: '#9d67af',
    500: '#71248d',
    950: '#000000',
  },
}
SCSS
$custom: #71248d;
$custom-light: #9d67af;
$custom-dark: #000000;
JSON
{
  "hex": "#71248d",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 284,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42799,
    "c": 0.17072,
    "h": 315.3
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#71248D
secondary
#6FB854
accent
#E3456F
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71248D

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

Preview Lab → · Contrast checker → · Palette generator →

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