#7315A1#7315A1

#7315A1 is a dark, highly saturated purple. Relative luminance 0.068; OKLCH L 43.4% C 0.204 H 310.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7315A1
RGBrgb(115, 21, 161)
HSLhsl(280, 77%, 36%)
HSVhsv(280, 87%, 63%)
CMYKcmyk(28.6%, 87%, 0%, 36.9%)
CIE-LABlab(31.24, 58.98, -54.62)
CIE-LCHlch(31.24, 80.38, 317.20°)
OKLaboklab(43.44% 0.1318 -0.1552)
OKLCHoklch(43.44% 0.204 310.3)
XYZxyz(13.7701, 6.7547, 34.2897)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7315A1 #43A115
analogous
#2D15A1 #7315A1 #A11589
triadic
#7315A1 #A17315 #15A173
tetradic
#7315A1 #A12D15 #43A115 #1589A1
square
#7315A1 #A12D15 #43A115 #1589A1
split-complementary
#7315A1 #89A115 #15A12D
monochromatic
#260735 #4C0E6B #7315A1 #9A1CD7 #B349E7

Accessibility & contrast

On white

8.93
#7315A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7315A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7315A1
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7315A1#FFFFFF#000000##FFFFFF
##7315A11.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#6C3D5F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7315a1;
/* rgb */ color: rgb(115, 21, 161);
/* oklch */ color: oklch(43.4% 0.204 310.3);
Tailwind
colors: {
  custom: {
    50: '#a162be',
    500: '#7315a1',
    950: '#000000',
  },
}
SCSS
$custom: #7315a1;
$custom-light: #a162be;
$custom-dark: #000000;
JSON
{
  "hex": "#7315a1",
  "rgb": {
    "r": 115,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 280.286,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43437,
    "c": 0.20358,
    "h": 310.3
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#7315A1
secondary
#73C849
accent
#F33473
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7315A1

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

Preview Lab → · Contrast checker → · Palette generator →

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