#82318D#82318D

#82318D is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.6% C 0.161 H 322.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#82318D
RGBrgb(130, 49, 141)
HSLhsl(293, 48%, 37%)
HSVhsv(293, 65%, 55%)
CMYKcmyk(7.8%, 65.2%, 0%, 44.7%)
CIE-LABlab(35.73, 47.91, -35.07)
CIE-LCHlch(35.73, 59.38, 323.80°)
OKLaboklab(46.65% 0.1282 -0.0976)
OKLCHoklch(46.65% 0.161 322.7)
XYZxyz(15.1115, 8.8664, 26.1095)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82318D #3C8D31
analogous
#54318D #82318D #8D316A
triadic
#82318D #8D8231 #318D82
tetradic
#82318D #8D5431 #3C8D31 #316A8D
square
#82318D #8D5431 #3C8D31 #316A8D
split-complementary
#82318D #6A8D31 #318D54
monochromatic
#2E1132 #582160 #82318D #AC41BA #C16CCC

Accessibility & contrast

On white

7.57
#82318D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#82318D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82318D
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82318D#FFFFFF#000000##FFFFFF
##82318D1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E90
Deuteranopia (green-blind)
#3E578B
Tritanopia (blue-blind)
#843F5A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #82318d;
/* rgb */ color: rgb(130, 49, 141);
/* oklch */ color: oklch(46.6% 0.161 322.7);
Tailwind
colors: {
  custom: {
    50: '#a96faf',
    500: '#82318d',
    950: '#000000',
  },
}
SCSS
$custom: #82318d;
$custom-light: #a96faf;
$custom-dark: #000000;
JSON
{
  "hex": "#82318d",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 292.826,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46648,
    "c": 0.16112,
    "h": 322.7
  },
  "luminance": 0.08866
}

Semantic roles & 50–950 ramp

primary
#82318D
secondary
#6FB466
accent
#D85060
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #82318D

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

Preview Lab → · Contrast checker → · Palette generator →

#82318D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva