#71236B#71236B

#71236B is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.5% C 0.141 H 331.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#71236B
RGBrgb(113, 35, 107)
HSLhsl(305, 53%, 29%)
HSVhsv(305, 69%, 44%)
CMYKcmyk(0%, 69%, 5.3%, 55.7%)
CIE-LABlab(28.84, 43.29, -24.81)
CIE-LCHlch(28.84, 49.89, 330.18°)
OKLaboklab(40.49% 0.1233 -0.0682)
OKLCHoklch(40.49% 0.141 331.1)
XYZxyz(10.0649, 5.7751, 14.4917)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71236B #237129
analogous
#502371 #71236B #712344
triadic
#71236B #6B7123 #236B71
tetradic
#71236B #715023 #237129 #234471
square
#71236B #715023 #237129 #234471
split-complementary
#71236B #447123 #237150
monochromatic
#170716 #42153F #71236B #A03197 #C648BD

Accessibility & contrast

On white

9.75
#71236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#71236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71236B
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71236B#FFFFFF#000000##FFFFFF
##71236B1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6D
Deuteranopia (green-blind)
#394869
Tritanopia (blue-blind)
#762B44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #71236b;
/* rgb */ color: rgb(113, 35, 107);
/* oklch */ color: oklch(40.5% 0.141 331.1);
Tailwind
colors: {
  custom: {
    50: '#9c6595',
    500: '#71236b',
    950: '#000000',
  },
}
SCSS
$custom: #71236b;
$custom-light: #9c6595;
$custom-dark: #000000;
JSON
{
  "hex": "#71236b",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 304.615,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40492,
    "c": 0.14089,
    "h": 331.1
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#71236B
secondary
#4CA452
accent
#DC574C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #71236B

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

Preview Lab → · Contrast checker → · Palette generator →

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