#71248C#71248C

#71248C is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.170 H 315.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#71248C
RGBrgb(113, 36, 140)
HSLhsl(284, 59%, 35%)
HSVhsv(284, 74%, 55%)
CMYKcmyk(19.3%, 74.3%, 0%, 45.1%)
CIE-LABlab(31.04, 49.30, -42.11)
CIE-LCHlch(31.04, 64.83, 319.50°)
OKLaboklab(42.73% 0.1215 -0.1186)
OKLCHoklch(42.73% 0.17 315.7)
XYZxyz(12.1738, 6.6664, 25.4513)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71248C #3F8C24
analogous
#3D248C #71248C #8C2473
triadic
#71248C #8C7124 #248C71
tetradic
#71248C #8C3D24 #3F8C24 #24738C
square
#71248C #8C3D24 #3F8C24 #24738C
split-complementary
#71248C #738C24 #248C3D
monochromatic
#220B2B #4A175B #71248C #9831BD #B357D4

Accessibility & contrast

On white

9.00
#71248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71248C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71248C#FFFFFF#000000##FFFFFF
##71248C1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #71248c;
/* rgb */ color: rgb(113, 36, 140);
/* oklch */ color: oklch(42.7% 0.170 315.7);
Tailwind
colors: {
  custom: {
    50: '#9d67ae',
    500: '#71248c',
    950: '#000000',
  },
}
SCSS
$custom: #71248c;
$custom-light: #9d67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#71248c",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 284.423,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42728,
    "c": 0.16977,
    "h": 315.7
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#71248C
secondary
#6EB854
accent
#E2466E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71248C

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

Preview Lab → · Contrast checker → · Palette generator →

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