#841F90#841F90

#841F90 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.187 H 323.2°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#841F90
RGBrgb(132, 31, 144)
HSLhsl(294, 65%, 34%)
HSVhsv(294, 78%, 56%)
CMYKcmyk(8.3%, 78.5%, 0%, 43.5%)
CIE-LABlab(33.77, 55.90, -40.01)
CIE-LCHlch(33.77, 68.74, 324.41°)
OKLaboklab(45.37% 0.1495 -0.1118)
OKLCHoklch(45.37% 0.187 323.2)
XYZxyz(15.0393, 7.9000, 27.1129)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F90 #2B901F
analogous
#4C1F90 #841F90 #901F64
triadic
#841F90 #90841F #1F9084
tetradic
#841F90 #904C1F #2B901F #1F6490
square
#841F90 #904C1F #2B901F #1F6490
split-complementary
#841F90 #64901F #1F904C
monochromatic
#28092B #56145E #841F90 #B22AC2 #CB50D9

Accessibility & contrast

On white

8.14
#841F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#841F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F90
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F90#FFFFFF#000000##FFFFFF
##841F901.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#33538D
Tritanopia (blue-blind)
#863557
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #841f90;
/* rgb */ color: rgb(132, 31, 144);
/* oklch */ color: oklch(45.4% 0.187 323.2);
Tailwind
colors: {
  custom: {
    50: '#ab67b1',
    500: '#841f90',
    950: '#000000',
  },
}
SCSS
$custom: #841f90;
$custom-light: #ab67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#841f90",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 293.628,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45373,
    "c": 0.18665,
    "h": 323.2
  },
  "luminance": 0.07899
}

Semantic roles & 50–950 ramp

primary
#841F90
secondary
#5ABC4E
accent
#E84052
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #841F90

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

Preview Lab → · Contrast checker → · Palette generator →

#841F90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva