#82237B#82237B

#82237B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.164 H 331.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#82237B
RGBrgb(130, 35, 123)
HSLhsl(304, 58%, 32%)
HSVhsv(304, 73%, 51%)
CMYKcmyk(0%, 73.1%, 5.4%, 49%)
CIE-LABlab(32.65, 50.40, -28.76)
CIE-LCHlch(32.65, 58.03, 330.29°)
OKLaboklab(44.1% 0.1437 -0.0792)
OKLCHoklch(44.1% 0.164 331.2)
XYZxyz(13.3821, 7.3790, 19.4545)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82237B #23822A
analogous
#5A2382 #82237B #82234C
triadic
#82237B #7B8223 #237B82
tetradic
#82237B #825A23 #23822A #234C82
square
#82237B #825A23 #23822A #234C82
split-complementary
#82237B #4C8223 #23825A
monochromatic
#220920 #52164D #82237B #B230A9 #D050C6

Accessibility & contrast

On white

8.48
#82237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#82237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82237B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82237B#FFFFFF#000000##FFFFFF
##82237B1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447D
Deuteranopia (green-blind)
#405179
Tritanopia (blue-blind)
#872E4C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #82237b;
/* rgb */ color: rgb(130, 35, 123);
/* oklch */ color: oklch(44.1% 0.164 331.2);
Tailwind
colors: {
  custom: {
    50: '#a968a1',
    500: '#82237b',
    950: '#000000',
  },
}
SCSS
$custom: #82237b;
$custom-light: #a968a1;
$custom-dark: #000000;
JSON
{
  "hex": "#82237b",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 304.421,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44103,
    "c": 0.16409,
    "h": 331.2
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#82237B
secondary
#4DB355
accent
#E15247
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070F
muted
#7F7A7E

Preview Lab

Preview with #82237B

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

Preview Lab → · Contrast checker → · Palette generator →

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