#71309D#71309D

#71309D is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.172 H 308.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#71309D
RGBrgb(113, 48, 157)
HSLhsl(276, 53%, 40%)
HSVhsv(276, 69%, 62%)
CMYKcmyk(28%, 69.4%, 0%, 38.4%)
CIE-LABlab(34.11, 47.78, -47.56)
CIE-LCHlch(34.11, 67.42, 315.13°)
OKLaboklab(45.3% 0.1065 -0.1347)
OKLCHoklch(45.3% 0.172 308.3)
XYZxyz(13.9516, 8.0592, 32.7124)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71309D #5C9D30
analogous
#3A309D #71309D #9D3092
triadic
#71309D #9D7130 #309D71
tetradic
#71309D #9D3A30 #5C9D30 #30929D
square
#71309D #9D3A30 #5C9D30 #30929D
split-complementary
#71309D #929D30 #309D3A
monochromatic
#2E133F #4F226E #71309D #9244C6 #AD73D4

Accessibility & contrast

On white

8.04
#71309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#71309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71309D
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71309D#FFFFFF#000000##FFFFFF
##71309D1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#18519B
Tritanopia (blue-blind)
#6A4863
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #71309d;
/* rgb */ color: rgb(113, 48, 157);
/* oklch */ color: oklch(45.3% 0.172 308.3);
Tailwind
colors: {
  custom: {
    50: '#9e6ebb',
    500: '#71309d',
    950: '#000000',
  },
}
SCSS
$custom: #71309d;
$custom-light: #9e6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#71309d",
  "rgb": {
    "r": 113,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 275.78,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45297,
    "c": 0.17171,
    "h": 308.3
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#71309D
secondary
#8DBC6D
accent
#DD4B86
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71309D

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

Preview Lab → · Contrast checker → · Palette generator →

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