#71237F#71237F

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

Color values

HEX#71237F
RGBrgb(113, 35, 127)
HSLhsl(291, 57%, 32%)
HSVhsv(291, 72%, 50%)
CMYKcmyk(11%, 72.4%, 0%, 50.2%)
CIE-LABlab(30.02, 47.05, -35.63)
CIE-LCHlch(30.02, 59.02, 322.87°)
OKLaboklab(41.73% 0.1236 -0.0996)
OKLCHoklch(41.73% 0.159 321.1)
XYZxyz(11.2414, 6.2457, 20.6880)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71237F #317F23
analogous
#43237F #71237F #7F235F
triadic
#71237F #7F7123 #237F71
tetradic
#71237F #7F4323 #317F23 #235F7F
square
#71237F #7F4323 #317F23 #235F7F
split-complementary
#71237F #5F7F23 #237F43
monochromatic
#1C091F #46164F #71237F #9C30AF #BB4ECE

Accessibility & contrast

On white

9.34
#71237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#71237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71237F
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71237F#FFFFFF#000000##FFFFFF
##71237F1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#2D4A7D
Tritanopia (blue-blind)
#72344E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #71237f;
/* rgb */ color: rgb(113, 35, 127);
/* oklch */ color: oklch(41.7% 0.159 321.1);
Tailwind
colors: {
  custom: {
    50: '#9d66a4',
    500: '#71237f',
    950: '#000000',
  },
}
SCSS
$custom: #71237f;
$custom-light: #9d66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71237f",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 290.87,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41729,
    "c": 0.15877,
    "h": 321.1
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#71237F
secondary
#5CB14C
accent
#E0485F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71237F

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

Preview Lab → · Contrast checker → · Palette generator →

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