#7318A1#7318A1

#7318A1 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.201 H 310.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7318A1
RGBrgb(115, 24, 161)
HSLhsl(280, 74%, 36%)
HSVhsv(280, 85%, 63%)
CMYKcmyk(28.6%, 85.1%, 0%, 36.9%)
CIE-LABlab(31.51, 58.18, -54.18)
CIE-LCHlch(31.51, 79.50, 317.04°)
OKLaboklab(43.63% 0.1299 -0.1539)
OKLCHoklch(43.63% 0.201 310.2)
XYZxyz(13.8286, 6.8716, 34.3092)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7318A1 #46A118
analogous
#2F18A1 #7318A1 #A1188B
triadic
#7318A1 #A17318 #18A173
tetradic
#7318A1 #A12F18 #46A118 #188BA1
square
#7318A1 #A12F18 #46A118 #188BA1
split-complementary
#7318A1 #8BA118 #18A12F
monochromatic
#270836 #4D106C #7318A1 #9920D6 #B24FE5

Accessibility & contrast

On white

8.85
#7318A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7318A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7318A1
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7318A1#FFFFFF#000000##FFFFFF
##7318A11.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#6C3E5F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7318a1;
/* rgb */ color: rgb(115, 24, 161);
/* oklch */ color: oklch(43.6% 0.201 310.2);
Tailwind
colors: {
  custom: {
    50: '#a163be',
    500: '#7318a1',
    950: '#000000',
  },
}
SCSS
$custom: #7318a1;
$custom-light: #a163be;
$custom-dark: #000000;
JSON
{
  "hex": "#7318a1",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 279.854,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43625,
    "c": 0.2014,
    "h": 310.2
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#7318A1
secondary
#77C74E
accent
#F13775
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7318A1

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

Preview Lab → · Contrast checker → · Palette generator →

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