#71238B#71238B

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

Color values

HEX#71238B
RGBrgb(113, 35, 139)
HSLhsl(285, 60%, 34%)
HSVhsv(285, 75%, 55%)
CMYKcmyk(18.7%, 74.8%, 0%, 45.5%)
CIE-LABlab(30.82, 49.49, -41.83)
CIE-LCHlch(30.82, 64.80, 319.80°)
OKLaboklab(42.56% 0.1226 -0.1178)
OKLCHoklch(42.56% 0.17 316.2)
XYZxyz(12.0706, 6.5773, 25.0548)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71238B #3D8B23
analogous
#3D238B #71238B #8B2371
triadic
#71238B #8B7123 #238B71
tetradic
#71238B #8B3D23 #3D8B23 #23718B
square
#71238B #8B3D23 #3D8B23 #23718B
split-complementary
#71238B #718B23 #238B3D
monochromatic
#220A29 #49175A #71238B #992FBC #B454D4

Accessibility & contrast

On white

9.07
#71238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71238B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71238B#FFFFFF#000000##FFFFFF
##71238B1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#224B89
Tritanopia (blue-blind)
#6F3955
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71238b;
/* rgb */ color: rgb(113, 35, 139);
/* oklch */ color: oklch(42.6% 0.170 316.2);
Tailwind
colors: {
  custom: {
    50: '#9d66ad',
    500: '#71238b',
    950: '#000000',
  },
}
SCSS
$custom: #71238b;
$custom-light: #9d66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#71238b",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 285,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42556,
    "c": 0.17001,
    "h": 316.2
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#71238B
secondary
#6BB852
accent
#E3456C
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71238B

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

Preview Lab → · Contrast checker → · Palette generator →

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