#842275#842275

#842275 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.162 H 334.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#842275
RGBrgb(132, 34, 117)
HSLhsl(309, 59%, 33%)
HSVhsv(309, 74%, 52%)
CMYKcmyk(0%, 74.2%, 11.4%, 48.2%)
CIE-LABlab(32.56, 50.27, -25.11)
CIE-LCHlch(32.56, 56.19, 333.46°)
OKLaboklab(44% 0.1465 -0.0686)
OKLCHoklch(44% 0.162 334.9)
XYZxyz(13.2988, 7.3351, 17.5416)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842275 #228431
analogous
#622284 #842275 #842244
triadic
#842275 #758422 #227584
tetradic
#842275 #846222 #228431 #224484
square
#842275 #846222 #228431 #224484
split-complementary
#842275 #448422 #228462
monochromatic
#23091F #53154A #842275 #B52FA0 #D24FBE

Accessibility & contrast

On white

8.51
#842275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#842275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842275
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842275#FFFFFF#000000##FFFFFF
##8422751.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214377
Deuteranopia (green-blind)
#445273
Tritanopia (blue-blind)
#8B2A49
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842275;
/* rgb */ color: rgb(132, 34, 117);
/* oklch */ color: oklch(44.0% 0.162 334.9);
Tailwind
colors: {
  custom: {
    50: '#ab679d',
    500: '#842275',
    950: '#000000',
  },
}
SCSS
$custom: #842275;
$custom-light: #ab679d;
$custom-dark: #000000;
JSON
{
  "hex": "#842275",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 309.184,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43997,
    "c": 0.16179,
    "h": 334.9
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#842275
secondary
#4DB55D
accent
#E25E46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842275

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

Preview Lab → · Contrast checker → · Palette generator →

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