#71267F#71267F

#71267F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.155 H 321.0°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#71267F
RGBrgb(113, 38, 127)
HSLhsl(291, 54%, 32%)
HSVhsv(291, 70%, 50%)
CMYKcmyk(11%, 70.1%, 0%, 50.2%)
CIE-LABlab(30.47, 45.79, -34.91)
CIE-LCHlch(30.47, 57.58, 322.68°)
OKLaboklab(42.05% 0.1203 -0.0975)
OKLCHoklch(42.05% 0.155 321)
XYZxyz(11.3335, 6.4298, 20.7187)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71267F #347F26
analogous
#45267F #71267F #7F2660
triadic
#71267F #7F7126 #267F71
tetradic
#71267F #7F4526 #347F26 #26607F
square
#71267F #7F4526 #347F26 #26607F
split-complementary
#71267F #607F26 #267F45
monochromatic
#1D0A21 #471850 #71267F #9B34AE #B954CC

Accessibility & contrast

On white

9.19
#71267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#71267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71267F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71267F#FFFFFF#000000##FFFFFF
##71267F1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074282
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#72364F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71267f;
/* rgb */ color: rgb(113, 38, 127);
/* oklch */ color: oklch(42.1% 0.155 321.0);
Tailwind
colors: {
  custom: {
    50: '#9d67a4',
    500: '#71267f',
    950: '#000000',
  },
}
SCSS
$custom: #71267f;
$custom-light: #9d67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71267f",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 290.562,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42051,
    "c": 0.15484,
    "h": 321
  },
  "luminance": 0.06429
}

Semantic roles & 50–950 ramp

primary
#71267F
secondary
#60B051
accent
#DD4A62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71267F

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

Preview Lab → · Contrast checker → · Palette generator →

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