#71269D#71269D

#71269D is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.184 H 309.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#71269D
RGBrgb(113, 38, 157)
HSLhsl(278, 61%, 38%)
HSVhsv(278, 76%, 62%)
CMYKcmyk(28%, 75.8%, 0%, 38.4%)
CIE-LABlab(32.55, 52.17, -50.08)
CIE-LCHlch(32.55, 72.32, 316.17°)
OKLaboklab(44.19% 0.1169 -0.142)
OKLCHoklch(44.19% 0.184 309.5)
XYZxyz(13.5877, 7.3315, 32.5911)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71269D #529D26
analogous
#35269D #71269D #9D268D
triadic
#71269D #9D7126 #269D71
tetradic
#71269D #9D3526 #529D26 #268D9D
square
#71269D #9D3526 #529D26 #268D9D
split-complementary
#71269D #8D9D26 #269D35
monochromatic
#2A0E3A #4E1A6C #71269D #9433CE #AE64D9

Accessibility & contrast

On white

8.52
#71269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#71269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71269D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71269D#FFFFFF#000000##FFFFFF
##71269D1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#024E9B
Tritanopia (blue-blind)
#6A4260
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #71269d;
/* rgb */ color: rgb(113, 38, 157);
/* oklch */ color: oklch(44.2% 0.184 309.5);
Tailwind
colors: {
  custom: {
    50: '#9e68bb',
    500: '#71269d',
    950: '#000000',
  },
}
SCSS
$custom: #71269d;
$custom-light: #9e68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#71269d",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 277.815,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44191,
    "c": 0.18392,
    "h": 309.5
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#71269D
secondary
#83BF60
accent
#E4447F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71269D

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

Preview Lab → · Contrast checker → · Palette generator →

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