#71238D#71238D

#71238D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.172 H 315.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#71238D
RGBrgb(113, 35, 141)
HSLhsl(284, 60%, 35%)
HSVhsv(284, 75%, 55%)
CMYKcmyk(19.9%, 75.2%, 0%, 44.7%)
CIE-LABlab(30.96, 49.91, -42.84)
CIE-LCHlch(30.96, 65.77, 319.36°)
OKLaboklab(42.7% 0.1224 -0.1207)
OKLCHoklch(42.7% 0.172 315.4)
XYZxyz(12.2180, 6.6363, 25.8315)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71238D #3F8D23
analogous
#3C238D #71238D #8D2374
triadic
#71238D #8D7123 #238D71
tetradic
#71238D #8D3C23 #3F8D23 #23748D
square
#71238D #8D3C23 #3F8D23 #23748D
split-complementary
#71238D #748D23 #238D3C
monochromatic
#220B2B #4A175C #71238D #982FBE #B355D5

Accessibility & contrast

On white

9.02
#71238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71238D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71238D#FFFFFF#000000##FFFFFF
##71238D1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#204B8B
Tritanopia (blue-blind)
#6F3A56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71238d;
/* rgb */ color: rgb(113, 35, 141);
/* oklch */ color: oklch(42.7% 0.172 315.4);
Tailwind
colors: {
  custom: {
    50: '#9d66af',
    500: '#71238d',
    950: '#000000',
  },
}
SCSS
$custom: #71238d;
$custom-light: #9d66af;
$custom-dark: #000000;
JSON
{
  "hex": "#71238d",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 284.151,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.427,
    "c": 0.1719,
    "h": 315.4
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#71238D
secondary
#6EB953
accent
#E3446E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71238D

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

Preview Lab → · Contrast checker → · Palette generator →

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