#71238C#71238C

#71238C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.171 H 315.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#71238C
RGBrgb(113, 35, 140)
HSLhsl(285, 60%, 34%)
HSVhsv(285, 75%, 55%)
CMYKcmyk(19.3%, 75%, 0%, 45.1%)
CIE-LABlab(30.89, 49.70, -42.33)
CIE-LCHlch(30.89, 65.29, 319.58°)
OKLaboklab(42.63% 0.1225 -0.1192)
OKLCHoklch(42.63% 0.171 315.8)
XYZxyz(12.1440, 6.6067, 25.4414)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71238C #3E8C23
analogous
#3C238C #71238C #8C2373
triadic
#71238C #8C7123 #238C71
tetradic
#71238C #8C3C23 #3E8C23 #23738C
square
#71238C #8C3C23 #3E8C23 #23738C
split-complementary
#71238C #738C23 #238C3C
monochromatic
#220B2A #49175B #71238C #992FBD #B455D4

Accessibility & contrast

On white

9.05
#71238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#71238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71238C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71238C#FFFFFF#000000##FFFFFF
##71238C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#214B8A
Tritanopia (blue-blind)
#6F3956
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71238c;
/* rgb */ color: rgb(113, 35, 140);
/* oklch */ color: oklch(42.6% 0.171 315.8);
Tailwind
colors: {
  custom: {
    50: '#9d66ae',
    500: '#71238c',
    950: '#000000',
  },
}
SCSS
$custom: #71238c;
$custom-light: #9d66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#71238c",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 284.571,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42628,
    "c": 0.17095,
    "h": 315.8
  },
  "luminance": 0.06606
}

Semantic roles & 50–950 ramp

primary
#71238C
secondary
#6DB852
accent
#E3456D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71238C

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

Preview Lab → · Contrast checker → · Palette generator →

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