#71238F#71238F

#71238F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.174 H 314.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#71238F
RGBrgb(113, 35, 143)
HSLhsl(283, 61%, 35%)
HSVhsv(283, 76%, 56%)
CMYKcmyk(21%, 75.5%, 0%, 43.9%)
CIE-LABlab(31.11, 50.33, -43.85)
CIE-LCHlch(31.11, 66.75, 318.94°)
OKLaboklab(42.85% 0.1221 -0.1237)
OKLCHoklch(42.85% 0.174 314.6)
XYZxyz(12.3682, 6.6964, 26.6223)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71238F #418F23
analogous
#3B238F #71238F #8F2377
triadic
#71238F #8F7123 #238F71
tetradic
#71238F #8F3B23 #418F23 #23778F
square
#71238F #8F3B23 #418F23 #23778F
split-complementary
#71238F #778F23 #238F3B
monochromatic
#230B2D #4A175E #71238F #982FC0 #B257D6

Accessibility & contrast

On white

8.98
#71238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#71238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71238F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71238F#FFFFFF#000000##FFFFFF
##71238F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#1D4B8D
Tritanopia (blue-blind)
#6E3B57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71238f;
/* rgb */ color: rgb(113, 35, 143);
/* oklch */ color: oklch(42.8% 0.174 314.6);
Tailwind
colors: {
  custom: {
    50: '#9e66b0',
    500: '#71238f',
    950: '#000000',
  },
}
SCSS
$custom: #71238f;
$custom-light: #9e66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71238f",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 283.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.1738,
    "h": 314.6
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#71238F
secondary
#70BA54
accent
#E44470
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #71238F

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

Preview Lab → · Contrast checker → · Palette generator →

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