#832278#832278

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

Color values

HEX#832278
RGBrgb(131, 34, 120)
HSLhsl(307, 59%, 32%)
HSVhsv(307, 74%, 51%)
CMYKcmyk(0%, 74%, 8.4%, 48.6%)
CIE-LABlab(32.54, 50.51, -27.04)
CIE-LCHlch(32.54, 57.29, 331.84°)
OKLaboklab(44% 0.1457 -0.0742)
OKLCHoklch(44% 0.164 333)
XYZxyz(13.3223, 7.3265, 18.4782)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832278 #22832D
analogous
#5D2283 #832278 #832248
triadic
#832278 #788322 #227883
tetradic
#832278 #835D22 #22832D #224883
square
#832278 #835D22 #22832D #224883
split-complementary
#832278 #488322 #22835D
monochromatic
#22091F #52154B #832278 #B42FA5 #D14EC2

Accessibility & contrast

On white

8.52
#832278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #832278
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832278#FFFFFF#000000##FFFFFF
##8322781.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447A
Deuteranopia (green-blind)
#425176
Tritanopia (blue-blind)
#892C4A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #832278;
/* rgb */ color: rgb(131, 34, 120);
/* oklch */ color: oklch(44.0% 0.164 333.0);
Tailwind
colors: {
  custom: {
    50: '#aa679f',
    500: '#832278',
    950: '#000000',
  },
}
SCSS
$custom: #832278;
$custom-light: #aa679f;
$custom-dark: #000000;
JSON
{
  "hex": "#832278",
  "rgb": {
    "r": 131,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 306.804,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44001,
    "c": 0.1635,
    "h": 333
  },
  "luminance": 0.07325
}

Semantic roles & 50–950 ramp

primary
#832278
secondary
#4CB458
accent
#E25846
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #832278

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

Preview Lab → · Contrast checker → · Palette generator →

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