#71268F#71268F

#71268F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.170 H 314.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#71268F
RGBrgb(113, 38, 143)
HSLhsl(283, 58%, 35%)
HSVhsv(283, 73%, 56%)
CMYKcmyk(21%, 73.4%, 0%, 43.9%)
CIE-LABlab(31.53, 49.11, -43.16)
CIE-LCHlch(31.53, 65.38, 318.70°)
OKLaboklab(43.15% 0.1191 -0.1217)
OKLCHoklch(43.15% 0.17 314.4)
XYZxyz(12.4603, 6.8805, 26.6530)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71268F #448F26
analogous
#3C268F #71268F #8F2678
triadic
#71268F #8F7126 #268F71
tetradic
#71268F #8F3C26 #448F26 #26788F
square
#71268F #8F3C26 #448F26 #26788F
split-complementary
#71268F #788F26 #268F3C
monochromatic
#250C2E #4B195F #71268F #9733BF #B15CD4

Accessibility & contrast

On white

8.84
#71268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#71268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71268F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71268F#FFFFFF#000000##FFFFFF
##71268F1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#204C8D
Tritanopia (blue-blind)
#6E3C58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #71268f;
/* rgb */ color: rgb(113, 38, 143);
/* oklch */ color: oklch(43.1% 0.170 314.4);
Tailwind
colors: {
  custom: {
    50: '#9d68b0',
    500: '#71268f',
    950: '#000000',
  },
}
SCSS
$custom: #71268f;
$custom-light: #9d68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71268f",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 282.857,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43149,
    "c": 0.17023,
    "h": 314.4
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#71268F
secondary
#74B958
accent
#E14773
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #71268F

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

Preview Lab → · Contrast checker → · Palette generator →

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