#71239E#71239E

#71239E is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.188 H 309.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#71239E
RGBrgb(113, 35, 158)
HSLhsl(278, 64%, 38%)
HSVhsv(278, 78%, 62%)
CMYKcmyk(28.5%, 77.8%, 0%, 38%)
CIE-LABlab(32.22, 53.57, -51.23)
CIE-LCHlch(32.22, 74.12, 316.28°)
OKLaboklab(43.98% 0.1194 -0.1454)
OKLCHoklch(43.98% 0.188 309.4)
XYZxyz(13.5814, 7.1817, 33.0119)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71239E #509E23
analogous
#33239E #71239E #9E238D
triadic
#71239E #9E7123 #239E71
tetradic
#71239E #9E3323 #509E23 #238D9E
square
#71239E #9E3323 #509E23 #238D9E
split-complementary
#71239E #8D9E23 #239E33
monochromatic
#290D3A #4D186C #71239E #952ED0 #AE60DC

Accessibility & contrast

On white

8.62
#71239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#71239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71239E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71239E#FFFFFF#000000##FFFFFF
##71239E1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#6A4160
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #71239e;
/* rgb */ color: rgb(113, 35, 158);
/* oklch */ color: oklch(44.0% 0.188 309.4);
Tailwind
colors: {
  custom: {
    50: '#9f67bb',
    500: '#71239e',
    950: '#000000',
  },
}
SCSS
$custom: #71239e;
$custom-light: #9f67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#71239e",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 278.049,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4398,
    "c": 0.18814,
    "h": 309.4
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#71239E
secondary
#81C15C
accent
#E7417E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #71239E

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

Preview Lab → · Contrast checker → · Palette generator →

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