#71239B#71239B

#71239B is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.185 H 310.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#71239B
RGBrgb(113, 35, 155)
HSLhsl(279, 63%, 37%)
HSVhsv(279, 77%, 61%)
CMYKcmyk(27.1%, 77.4%, 0%, 39.2%)
CIE-LABlab(31.99, 52.91, -49.77)
CIE-LCHlch(31.99, 72.64, 316.75°)
OKLaboklab(43.75% 0.1201 -0.1411)
OKLCHoklch(43.75% 0.185 310.4)
XYZxyz(13.3263, 7.0796, 31.6685)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71239B #4D9B23
analogous
#35239B #71239B #9B2389
triadic
#71239B #9B7123 #239B71
tetradic
#71239B #9B3523 #4D9B23 #23899B
square
#71239B #9B3523 #4D9B23 #23899B
split-complementary
#71239B #899B23 #239B35
monochromatic
#280C37 #4D1869 #71239B #952ECD #AF5EDB

Accessibility & contrast

On white

8.69
#71239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#71239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71239B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71239B#FFFFFF#000000##FFFFFF
##71239B1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#014C99
Tritanopia (blue-blind)
#6B405E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #71239b;
/* rgb */ color: rgb(113, 35, 155);
/* oklch */ color: oklch(43.7% 0.185 310.4);
Tailwind
colors: {
  custom: {
    50: '#9e67b9',
    500: '#71239b',
    950: '#000000',
  },
}
SCSS
$custom: #71239b;
$custom-light: #9e67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#71239b",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 279,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43747,
    "c": 0.18527,
    "h": 310.4
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#71239B
secondary
#7EBF5A
accent
#E6427B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #71239B

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

Preview Lab → · Contrast checker → · Palette generator →

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