#71267D#71267D

#71267D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.9% C 0.153 H 321.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#71267D
RGBrgb(113, 38, 125)
HSLhsl(292, 53%, 32%)
HSVhsv(292, 70%, 49%)
CMYKcmyk(9.6%, 69.6%, 0%, 51%)
CIE-LABlab(30.35, 45.39, -33.85)
CIE-LCHlch(30.35, 56.62, 323.28°)
OKLaboklab(41.92% 0.1203 -0.0945)
OKLCHoklch(41.92% 0.153 321.9)
XYZxyz(11.2044, 6.3782, 20.0390)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71267D #327D26
analogous
#46267D #71267D #7D265E
triadic
#71267D #7D7126 #267D71
tetradic
#71267D #7D4626 #327D26 #265E7D
square
#71267D #7D4626 #327D26 #265E7D
split-complementary
#71267D #5E7D26 #267D46
monochromatic
#1C091F #47184E #71267D #9B34AC #BA53CB

Accessibility & contrast

On white

9.23
#71267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#71267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71267D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71267D#FFFFFF#000000##FFFFFF
##71267D1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4280
Deuteranopia (green-blind)
#314A7B
Tritanopia (blue-blind)
#72354E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #71267d;
/* rgb */ color: rgb(113, 38, 125);
/* oklch */ color: oklch(41.9% 0.153 321.9);
Tailwind
colors: {
  custom: {
    50: '#9d67a3',
    500: '#71267d',
    950: '#000000',
  },
}
SCSS
$custom: #71267d;
$custom-light: #9d67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#71267d",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 291.724,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41921,
    "c": 0.15294,
    "h": 321.9
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#71267D
secondary
#5DAF50
accent
#DD4B5F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71267D

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

Preview Lab → · Contrast checker → · Palette generator →

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