#71249D#71249D

#71249D is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.186 H 309.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#71249D
RGBrgb(113, 36, 157)
HSLhsl(278, 63%, 38%)
HSVhsv(278, 77%, 62%)
CMYKcmyk(28%, 77.1%, 0%, 38.4%)
CIE-LABlab(32.27, 52.96, -50.53)
CIE-LCHlch(32.27, 73.20, 316.35°)
OKLaboklab(44% 0.1188 -0.1433)
OKLCHoklch(44% 0.186 309.6)
XYZxyz(13.5255, 7.2071, 32.5703)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71249D #509D24
analogous
#35249D #71249D #9D248C
triadic
#71249D #9D7124 #249D71
tetradic
#71249D #9D3524 #509D24 #248C9D
square
#71249D #9D3524 #509D24 #248C9D
split-complementary
#71249D #8C9D24 #249D35
monochromatic
#290D39 #4D196B #71249D #952FCF #AE61DB

Accessibility & contrast

On white

8.60
#71249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#71249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71249D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71249D#FFFFFF#000000##FFFFFF
##71249D1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#6B415F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #71249d;
/* rgb */ color: rgb(113, 36, 157);
/* oklch */ color: oklch(44.0% 0.186 309.6);
Tailwind
colors: {
  custom: {
    50: '#9e67bb',
    500: '#71249d',
    950: '#000000',
  },
}
SCSS
$custom: #71249d;
$custom-light: #9e67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#71249d",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 278.182,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43996,
    "c": 0.18612,
    "h": 309.6
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#71249D
secondary
#81C05D
accent
#E6427E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #71249D

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

Preview Lab → · Contrast checker → · Palette generator →

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