#7313A1#7313A1

#7313A1 is a dark, highly saturated purple. Relative luminance 0.067; OKLCH L 43.3% C 0.205 H 310.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7313A1
RGBrgb(115, 19, 161)
HSLhsl(281, 79%, 35%)
HSVhsv(281, 88%, 63%)
CMYKcmyk(28.6%, 88.2%, 0%, 36.9%)
CIE-LABlab(31.08, 59.46, -54.89)
CIE-LCHlch(31.08, 80.92, 317.29°)
OKLaboklab(43.32% 0.1329 -0.1559)
OKLCHoklch(43.32% 0.205 310.4)
XYZxyz(13.7348, 6.6841, 34.2779)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7313A1 #41A113
analogous
#2C13A1 #7313A1 #A11388
triadic
#7313A1 #A17313 #13A173
tetradic
#7313A1 #A12C13 #41A113 #1388A1
square
#7313A1 #A12C13 #41A113 #1388A1
split-complementary
#7313A1 #88A113 #13A12C
monochromatic
#250634 #4C0D6A #7313A1 #9A19D8 #B445E9

Accessibility & contrast

On white

8.99
#7313A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7313A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7313A1
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7313A1#FFFFFF#000000##FFFFFF
##7313A11.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7313a1;
/* rgb */ color: rgb(115, 19, 161);
/* oklch */ color: oklch(43.3% 0.205 310.4);
Tailwind
colors: {
  custom: {
    50: '#a162be',
    500: '#7313a1',
    950: '#000000',
  },
}
SCSS
$custom: #7313a1;
$custom-light: #a162be;
$custom-dark: #000000;
JSON
{
  "hex": "#7313a1",
  "rgb": {
    "r": 115,
    "g": 19,
    "b": 161
  },
  "hsl": {
    "h": 280.563,
    "s": 78.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43323,
    "c": 0.20491,
    "h": 310.4
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#7313A1
secondary
#71CA46
accent
#F53272
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7313A1

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

Preview Lab → · Contrast checker → · Palette generator →

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