#7311A1#7311A1

#7311A1 is a dark, highly saturated purple. Relative luminance 0.066; OKLCH L 43.2% C 0.206 H 310.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7311A1
RGBrgb(115, 17, 161)
HSLhsl(281, 81%, 35%)
HSVhsv(281, 89%, 63%)
CMYKcmyk(28.6%, 89.4%, 0%, 36.9%)
CIE-LABlab(30.92, 59.92, -55.14)
CIE-LCHlch(30.92, 81.42, 317.38°)
OKLaboklab(43.22% 0.134 -0.1567)
OKLCHoklch(43.22% 0.206 310.5)
XYZxyz(13.7024, 6.6193, 34.2671)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7311A1 #3FA111
analogous
#2B11A1 #7311A1 #A11187
triadic
#7311A1 #A17311 #11A173
tetradic
#7311A1 #A12B11 #3FA111 #1187A1
square
#7311A1 #A12B11 #3FA111 #1187A1
split-complementary
#7311A1 #87A111 #11A12B
monochromatic
#240532 #4B0B6A #7311A1 #9B17D8 #B541EB

Accessibility & contrast

On white

9.04
#7311A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7311A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7311A1
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7311A1#FFFFFF#000000##FFFFFF
##7311A11.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#6C3B5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7311a1;
/* rgb */ color: rgb(115, 17, 161);
/* oklch */ color: oklch(43.2% 0.206 310.5);
Tailwind
colors: {
  custom: {
    50: '#a161be',
    500: '#7311a1',
    950: '#000000',
  },
}
SCSS
$custom: #7311a1;
$custom-light: #a161be;
$custom-dark: #000000;
JSON
{
  "hex": "#7311a1",
  "rgb": {
    "r": 115,
    "g": 17,
    "b": 161
  },
  "hsl": {
    "h": 280.833,
    "s": 80.899,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.20614,
    "h": 310.5
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#7311A1
secondary
#6ECB43
accent
#F73170
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7311A1

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

Preview Lab → · Contrast checker → · Palette generator →

#7311A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva