#7315A0#7315A0

#7315A0 is a dark, highly saturated purple. Relative luminance 0.067; OKLCH L 43.4% C 0.203 H 310.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7315A0
RGBrgb(115, 21, 160)
HSLhsl(281, 77%, 35%)
HSVhsv(281, 87%, 63%)
CMYKcmyk(28.1%, 86.9%, 0%, 37.3%)
CIE-LABlab(31.16, 58.77, -54.15)
CIE-LCHlch(31.16, 79.91, 317.35°)
OKLaboklab(43.36% 0.1321 -0.1538)
OKLCHoklch(43.36% 0.203 310.7)
XYZxyz(13.6823, 6.7196, 33.8271)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7315A0 #42A015
analogous
#2E15A0 #7315A0 #A01587
triadic
#7315A0 #A07315 #15A073
tetradic
#7315A0 #A02E15 #42A015 #1587A0
square
#7315A0 #A02E15 #42A015 #1587A0
split-complementary
#7315A0 #87A015 #15A02E
monochromatic
#250734 #4C0E6A #7315A0 #9A1CD6 #B448E7

Accessibility & contrast

On white

8.96
#7315A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7315A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7315A0
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7315A0#FFFFFF#000000##FFFFFF
##7315A01.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#6D3C5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7315a0;
/* rgb */ color: rgb(115, 21, 160);
/* oklch */ color: oklch(43.4% 0.203 310.7);
Tailwind
colors: {
  custom: {
    50: '#a162bd',
    500: '#7315a0',
    950: '#000000',
  },
}
SCSS
$custom: #7315a0;
$custom-light: #a162bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7315a0",
  "rgb": {
    "r": 115,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 280.576,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43355,
    "c": 0.20272,
    "h": 310.7
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#7315A0
secondary
#72C849
accent
#F33472
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7315A0

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

Preview Lab → · Contrast checker → · Palette generator →

#7315A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva