#71237E#71237E

#71237E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.158 H 321.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#71237E
RGBrgb(113, 35, 126)
HSLhsl(291, 57%, 32%)
HSVhsv(291, 72%, 49%)
CMYKcmyk(10.3%, 72.2%, 0%, 50.6%)
CIE-LABlab(29.96, 46.86, -35.10)
CIE-LCHlch(29.96, 58.54, 323.16°)
OKLaboklab(41.66% 0.1237 -0.0981)
OKLCHoklch(41.66% 0.158 321.6)
XYZxyz(11.1766, 6.2197, 20.3464)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71237E #307E23
analogous
#44237E #71237E #7E235E
triadic
#71237E #7E7123 #237E71
tetradic
#71237E #7E4423 #307E23 #235E7E
square
#71237E #7E4423 #307E23 #235E7E
split-complementary
#71237E #5E7E23 #237E44
monochromatic
#1B081E #46164E #71237E #9C30AE #BB4ECE

Accessibility & contrast

On white

9.36
#71237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#71237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71237E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71237E#FFFFFF#000000##FFFFFF
##71237E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#2E497C
Tritanopia (blue-blind)
#72334E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #71237e;
/* rgb */ color: rgb(113, 35, 126);
/* oklch */ color: oklch(41.7% 0.158 321.6);
Tailwind
colors: {
  custom: {
    50: '#9d66a4',
    500: '#71237e',
    950: '#000000',
  },
}
SCSS
$custom: #71237e;
$custom-light: #9d66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71237e",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 291.429,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.15784,
    "h": 321.6
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#71237E
secondary
#5BB04C
accent
#E0485E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71237E

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

Preview Lab → · Contrast checker → · Palette generator →

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