#82237E#82237E

#82237E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.167 H 329.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#82237E
RGBrgb(130, 35, 126)
HSLhsl(303, 58%, 32%)
HSVhsv(303, 73%, 51%)
CMYKcmyk(0%, 73.1%, 3.1%, 49%)
CIE-LABlab(32.82, 50.91, -30.38)
CIE-LCHlch(32.82, 59.28, 329.17°)
OKLaboklab(44.28% 0.1439 -0.0838)
OKLCHoklch(44.28% 0.167 329.8)
XYZxyz(13.5728, 7.4553, 20.4588)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82237E #238227
analogous
#562382 #82237E #82234F
triadic
#82237E #7E8223 #237E82
tetradic
#82237E #825623 #238227 #234F82
square
#82237E #825623 #238227 #234F82
split-complementary
#82237E #4F8223 #238256
monochromatic
#220921 #52164F #82237E #B230AD #D050CA

Accessibility & contrast

On white

8.43
#82237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#82237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82237E
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82237E#FFFFFF#000000##FFFFFF
##82237E1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184581
Deuteranopia (green-blind)
#3E527C
Tritanopia (blue-blind)
#872F4E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #82237e;
/* rgb */ color: rgb(130, 35, 126);
/* oklch */ color: oklch(44.3% 0.167 329.8);
Tailwind
colors: {
  custom: {
    50: '#a968a4',
    500: '#82237e',
    950: '#000000',
  },
}
SCSS
$custom: #82237e;
$custom-light: #a968a4;
$custom-dark: #000000;
JSON
{
  "hex": "#82237e",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 302.526,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44277,
    "c": 0.1665,
    "h": 329.8
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#82237E
secondary
#4DB352
accent
#E14D47
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #82237E

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

Preview Lab → · Contrast checker → · Palette generator →

#82237E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva