#71268E#71268E

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

Color values

HEX#71268E
RGBrgb(113, 38, 142)
HSLhsl(283, 58%, 35%)
HSVhsv(283, 73%, 56%)
CMYKcmyk(20.4%, 73.2%, 0%, 44.3%)
CIE-LABlab(31.46, 48.90, -42.65)
CIE-LCHlch(31.46, 64.89, 318.90°)
OKLaboklab(43.08% 0.1192 -0.1202)
OKLCHoklch(43.08% 0.169 314.8)
XYZxyz(12.3848, 6.8504, 26.2558)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71268E #438E26
analogous
#3D268E #71268E #8E2677
triadic
#71268E #8E7126 #268E71
tetradic
#71268E #8E3D26 #438E26 #26778E
square
#71268E #8E3D26 #438E26 #26778E
split-complementary
#71268E #778E26 #268E3D
monochromatic
#240C2D #4B195E #71268E #9733BE #B25BD3

Accessibility & contrast

On white

8.86
#71268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#71268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71268E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71268E#FFFFFF#000000##FFFFFF
##71268E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#6F3C57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #71268e;
/* rgb */ color: rgb(113, 38, 142);
/* oklch */ color: oklch(43.1% 0.169 314.8);
Tailwind
colors: {
  custom: {
    50: '#9d68b0',
    500: '#71268e',
    950: '#000000',
  },
}
SCSS
$custom: #71268e;
$custom-light: #9d68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71268e",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 283.269,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43077,
    "c": 0.16925,
    "h": 314.8
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#71268E
secondary
#73B858
accent
#E14772
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71268E

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

Preview Lab → · Contrast checker → · Palette generator →

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