#82287F#82287F

#82287F is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.161 H 329.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#82287F
RGBrgb(130, 40, 127)
HSLhsl(302, 53%, 33%)
HSVhsv(302, 69%, 51%)
CMYKcmyk(0%, 69.2%, 2.3%, 49%)
CIE-LABlab(33.56, 49.16, -29.84)
CIE-LCHlch(33.56, 57.51, 328.74°)
OKLaboklab(44.82% 0.1384 -0.0823)
OKLCHoklch(44.82% 0.161 329.3)
XYZxyz(13.7954, 7.7967, 20.8529)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82287F #28822B
analogous
#582882 #82287F #822852
triadic
#82287F #7F8228 #287F82
tetradic
#82287F #825828 #28822B #285282
square
#82287F #825828 #28822B #285282
split-complementary
#82287F #528228 #288258
monochromatic
#240B24 #531A51 #82287F #B136AD #CC59C8

Accessibility & contrast

On white

8.21
#82287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#82287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82287F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82287F#FFFFFF#000000##FFFFFF
##82287F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4782
Deuteranopia (green-blind)
#40537D
Tritanopia (blue-blind)
#873350
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82287f;
/* rgb */ color: rgb(130, 40, 127);
/* oklch */ color: oklch(44.8% 0.161 329.3);
Tailwind
colors: {
  custom: {
    50: '#a96aa4',
    500: '#82287f',
    950: '#000000',
  },
}
SCSS
$custom: #82287f;
$custom-light: #a96aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#82287f",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 302,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44824,
    "c": 0.16105,
    "h": 329.3
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#82287F
secondary
#55B158
accent
#DC504B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #82287F

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

Preview Lab → · Contrast checker → · Palette generator →

#82287F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva