#71248B#71248B

#71248B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.169 H 316.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#71248B
RGBrgb(113, 36, 139)
HSLhsl(285, 59%, 34%)
HSVhsv(285, 74%, 55%)
CMYKcmyk(18.7%, 74.1%, 0%, 45.5%)
CIE-LABlab(30.97, 49.09, -41.60)
CIE-LCHlch(30.97, 64.35, 319.72°)
OKLaboklab(42.66% 0.1216 -0.1171)
OKLCHoklch(42.66% 0.169 316.1)
XYZxyz(12.1004, 6.6370, 25.0648)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71248B #3E8B24
analogous
#3D248B #71248B #8B2472
triadic
#71248B #8B7124 #248B71
tetradic
#71248B #8B3D24 #3E8B24 #24728B
square
#71248B #8B3D24 #3E8B24 #24728B
split-complementary
#71248B #728B24 #248B3D
monochromatic
#220B2A #49175A #71248B #9931BC #B456D3

Accessibility & contrast

On white

9.02
#71248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#71248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71248B
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71248B#FFFFFF#000000##FFFFFF
##71248B1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#234B89
Tritanopia (blue-blind)
#6F3955
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71248b;
/* rgb */ color: rgb(113, 36, 139);
/* oklch */ color: oklch(42.7% 0.169 316.1);
Tailwind
colors: {
  custom: {
    50: '#9d67ad',
    500: '#71248b',
    950: '#000000',
  },
}
SCSS
$custom: #71248b;
$custom-light: #9d67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#71248b",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 284.854,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42657,
    "c": 0.16882,
    "h": 316.1
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#71248B
secondary
#6DB753
accent
#E2466D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71248B

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

Preview Lab → · Contrast checker → · Palette generator →

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