#71238E#71238E

#71238E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.173 H 315.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#71238E
RGBrgb(113, 35, 142)
HSLhsl(284, 60%, 35%)
HSVhsv(284, 75%, 56%)
CMYKcmyk(20.4%, 75.4%, 0%, 44.3%)
CIE-LABlab(31.03, 50.12, -43.34)
CIE-LCHlch(31.03, 66.26, 319.15°)
OKLaboklab(42.77% 0.1222 -0.1222)
OKLCHoklch(42.77% 0.173 315)
XYZxyz(12.2928, 6.6662, 26.2251)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71238E #408E23
analogous
#3B238E #71238E #8E2376
triadic
#71238E #8E7123 #238E71
tetradic
#71238E #8E3B23 #408E23 #23768E
square
#71238E #8E3B23 #408E23 #23768E
split-complementary
#71238E #768E23 #238E3B
monochromatic
#230B2C #4A175D #71238E #982FBF #B356D5

Accessibility & contrast

On white

9.00
#71238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#71238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71238E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71238E#FFFFFF#000000##FFFFFF
##71238E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#6F3A57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71238e;
/* rgb */ color: rgb(113, 35, 142);
/* oklch */ color: oklch(42.8% 0.173 315.0);
Tailwind
colors: {
  custom: {
    50: '#9e66b0',
    500: '#71238e',
    950: '#000000',
  },
}
SCSS
$custom: #71238e;
$custom-light: #9e66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71238e",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 283.738,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42772,
    "c": 0.17285,
    "h": 315
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#71238E
secondary
#6FB953
accent
#E4446F
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71238E

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

Preview Lab → · Contrast checker → · Palette generator →

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