#71309E#71309E

#71309E is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.173 H 308.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#71309E
RGBrgb(113, 48, 158)
HSLhsl(275, 53%, 40%)
HSVhsv(275, 70%, 62%)
CMYKcmyk(28.5%, 69.6%, 0%, 38%)
CIE-LABlab(34.18, 48.01, -48.05)
CIE-LCHlch(34.18, 67.93, 314.98°)
OKLaboklab(45.37% 0.1064 -0.1361)
OKLCHoklch(45.37% 0.173 308)
XYZxyz(14.0373, 8.0934, 33.1638)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71309E #5D9E30
analogous
#3A309E #71309E #9E3094
triadic
#71309E #9E7130 #309E71
tetradic
#71309E #9E3A30 #5D9E30 #30949E
square
#71309E #9E3A30 #5D9E30 #30949E
split-complementary
#71309E #949E30 #309E3A
monochromatic
#2E1340 #4F226F #71309E #9145C6 #AD74D5

Accessibility & contrast

On white

8.02
#71309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#71309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71309E
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71309E#FFFFFF#000000##FFFFFF
##71309E1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#16519C
Tritanopia (blue-blind)
#6A4863
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #71309e;
/* rgb */ color: rgb(113, 48, 158);
/* oklch */ color: oklch(45.4% 0.173 308.0);
Tailwind
colors: {
  custom: {
    50: '#9e6ebb',
    500: '#71309e',
    950: '#000000',
  },
}
SCSS
$custom: #71309e;
$custom-light: #9e6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#71309e",
  "rgb": {
    "r": 113,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 275.455,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4537,
    "c": 0.17276,
    "h": 308
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#71309E
secondary
#8EBD6D
accent
#DD4B87
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #71309E

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

Preview Lab → · Contrast checker → · Palette generator →

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