#71258E#71258E

#71258E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.170 H 314.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#71258E
RGBrgb(113, 37, 142)
HSLhsl(283, 59%, 35%)
HSVhsv(283, 74%, 56%)
CMYKcmyk(20.4%, 73.9%, 0%, 44.3%)
CIE-LABlab(31.32, 49.31, -42.89)
CIE-LCHlch(31.32, 65.35, 318.99°)
OKLaboklab(42.97% 0.1202 -0.1209)
OKLCHoklch(42.97% 0.17 314.8)
XYZxyz(12.3533, 6.7873, 26.2453)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71258E #428E25
analogous
#3D258E #71258E #8E2576
triadic
#71258E #8E7125 #258E71
tetradic
#71258E #8E3D25 #428E25 #25768E
square
#71258E #8E3D25 #428E25 #25768E
split-complementary
#71258E #768E25 #258E3D
monochromatic
#240C2D #4A185D #71258E #9832BF #B25AD4

Accessibility & contrast

On white

8.91
#71258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#71258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71258E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71258E#FFFFFF#000000##FFFFFF
##71258E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#6F3B57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #71258e;
/* rgb */ color: rgb(113, 37, 142);
/* oklch */ color: oklch(43.0% 0.170 314.8);
Tailwind
colors: {
  custom: {
    50: '#9d67b0',
    500: '#71258e',
    950: '#000000',
  },
}
SCSS
$custom: #71258e;
$custom-light: #9d67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71258e",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 283.429,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42973,
    "c": 0.17048,
    "h": 314.8
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#71258E
secondary
#71B956
accent
#E24671
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71258E

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

Preview Lab → · Contrast checker → · Palette generator →

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