#71267E#71267E

#71267E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.154 H 321.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#71267E
RGBrgb(113, 38, 126)
HSLhsl(291, 54%, 32%)
HSVhsv(291, 70%, 49%)
CMYKcmyk(10.3%, 69.8%, 0%, 50.6%)
CIE-LABlab(30.41, 45.59, -34.38)
CIE-LCHlch(30.41, 57.10, 322.98°)
OKLaboklab(41.99% 0.1203 -0.096)
OKLCHoklch(41.99% 0.154 321.4)
XYZxyz(11.2686, 6.4039, 20.3771)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71267E #337E26
analogous
#45267E #71267E #7E265F
triadic
#71267E #7E7126 #267E71
tetradic
#71267E #7E4526 #337E26 #265F7E
square
#71267E #7E4526 #337E26 #265F7E
split-complementary
#71267E #5F7E26 #267E45
monochromatic
#1D0A20 #47184F #71267E #9B34AD #B953CB

Accessibility & contrast

On white

9.21
#71267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71267E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71267E#FFFFFF#000000##FFFFFF
##71267E1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094281
Deuteranopia (green-blind)
#304A7C
Tritanopia (blue-blind)
#72354F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71267e;
/* rgb */ color: rgb(113, 38, 126);
/* oklch */ color: oklch(42.0% 0.154 321.4);
Tailwind
colors: {
  custom: {
    50: '#9d67a4',
    500: '#71267e',
    950: '#000000',
  },
}
SCSS
$custom: #71267e;
$custom-light: #9d67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71267e",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 291.136,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41986,
    "c": 0.15389,
    "h": 321.4
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#71267E
secondary
#5EB050
accent
#DD4B60
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71267E

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

Preview Lab → · Contrast checker → · Palette generator →

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