#862179#862179

#862179 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.167 H 333.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#862179
RGBrgb(134, 33, 121)
HSLhsl(308, 60%, 33%)
HSVhsv(308, 75%, 53%)
CMYKcmyk(0%, 75.4%, 9.7%, 47.5%)
CIE-LABlab(33.00, 51.75, -26.91)
CIE-LCHlch(33.00, 58.33, 332.53°)
OKLaboklab(44.45% 0.15 -0.0737)
OKLCHoklch(44.45% 0.167 333.8)
XYZxyz(13.8267, 7.5377, 18.8122)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862179 #21862E
analogous
#612186 #862179 #862146
triadic
#862179 #798621 #217986
tetradic
#862179 #866121 #21862E #214686
square
#862179 #866121 #21862E #214686
split-complementary
#862179 #468621 #218661
monochromatic
#240920 #55154D #862179 #B72DA5 #D34EC2

Accessibility & contrast

On white

8.38
#862179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#862179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862179
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862179#FFFFFF#000000##FFFFFF
##8621791.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#445377
Tritanopia (blue-blind)
#8C2B4B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862179;
/* rgb */ color: rgb(134, 33, 121);
/* oklch */ color: oklch(44.5% 0.167 333.8);
Tailwind
colors: {
  custom: {
    50: '#ad67a0',
    500: '#862179',
    950: '#000000',
  },
}
SCSS
$custom: #862179;
$custom-light: #ad67a0;
$custom-dark: #000000;
JSON
{
  "hex": "#862179",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 307.723,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44452,
    "c": 0.16715,
    "h": 333.8
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#862179
secondary
#4CB75A
accent
#E45944
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862179

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

Preview Lab → · Contrast checker → · Palette generator →

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