#842475#842475

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

Color values

HEX#842475
RGBrgb(132, 36, 117)
HSLhsl(309, 57%, 33%)
HSVhsv(309, 73%, 52%)
CMYKcmyk(0%, 72.7%, 11.4%, 48.2%)
CIE-LABlab(32.82, 49.54, -24.70)
CIE-LCHlch(32.82, 55.36, 333.50°)
OKLaboklab(44.18% 0.1444 -0.0674)
OKLCHoklch(44.18% 0.159 335)
XYZxyz(13.3576, 7.4528, 17.5612)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842475 #248433
analogous
#632484 #842475 #842445
triadic
#842475 #758424 #247584
tetradic
#842475 #846324 #248433 #244584
square
#842475 #846324 #248433 #244584
split-complementary
#842475 #458424 #248463
monochromatic
#240A20 #54174A #842475 #B431A0 #D052BC

Accessibility & contrast

On white

8.43
#842475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#842475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##842475#FFFFFF#000000##FFFFFF
##8424751.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)
#244477
Deuteranopia (green-blind)
#455273
Tritanopia (blue-blind)
#8B2B49
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842475;
/* rgb */ color: rgb(132, 36, 117);
/* oklch */ color: oklch(44.2% 0.159 335.0);
Tailwind
colors: {
  custom: {
    50: '#ab689d',
    500: '#842475',
    950: '#000000',
  },
}
SCSS
$custom: #842475;
$custom-light: #ab689d;
$custom-dark: #000000;
JSON
{
  "hex": "#842475",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 117
  },
  "hsl": {
    "h": 309.375,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44183,
    "c": 0.15935,
    "h": 335
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#842475
secondary
#50B45F
accent
#E05F47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842475

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

Preview Lab → · Contrast checker → · Palette generator →

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