#842575#842575

#842575 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.158 H 335.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#842575
RGBrgb(132, 37, 117)
HSLhsl(309, 56%, 33%)
HSVhsv(309, 72%, 52%)
CMYKcmyk(0%, 72%, 11.4%, 48.2%)
CIE-LABlab(32.95, 49.16, -24.49)
CIE-LCHlch(32.95, 54.93, 333.52°)
OKLaboklab(44.28% 0.1433 -0.0669)
OKLCHoklch(44.28% 0.158 335)
XYZxyz(13.3883, 7.5142, 17.5714)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842575 #258434
analogous
#632584 #842575 #842545
triadic
#842575 #758425 #257584
tetradic
#842575 #846325 #258434 #254584
square
#842575 #846325 #258434 #254584
split-complementary
#842575 #458425 #258463
monochromatic
#240A20 #54184B #842575 #B4329F #CF54BC

Accessibility & contrast

On white

8.39
#842575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#842575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842575
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842575#FFFFFF#000000##FFFFFF
##8425751.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254477
Deuteranopia (green-blind)
#455373
Tritanopia (blue-blind)
#8B2C4A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842575;
/* rgb */ color: rgb(132, 37, 117);
/* oklch */ color: oklch(44.3% 0.158 335.0);
Tailwind
colors: {
  custom: {
    50: '#ab699d',
    500: '#842575',
    950: '#000000',
  },
}
SCSS
$custom: #842575;
$custom-light: #ab699d;
$custom-dark: #000000;
JSON
{
  "hex": "#842575",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 309.474,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4428,
    "c": 0.15809,
    "h": 335
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#842575
secondary
#51B361
accent
#E06048
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842575

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

Preview Lab → · Contrast checker → · Palette generator →

#842575 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva