#862279#862279

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

Color values

HEX#862279
RGBrgb(134, 34, 121)
HSLhsl(308, 60%, 33%)
HSVhsv(308, 75%, 53%)
CMYKcmyk(0%, 74.6%, 9.7%, 47.5%)
CIE-LABlab(33.12, 51.41, -26.72)
CIE-LCHlch(33.12, 57.93, 332.54°)
OKLaboklab(44.54% 0.149 -0.0732)
OKLCHoklch(44.54% 0.166 333.8)
XYZxyz(13.8548, 7.5940, 18.8216)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862279 #22862F
analogous
#612286 #862279 #862247
triadic
#862279 #798622 #227986
tetradic
#862279 #866122 #22862F #224786
square
#862279 #866122 #22862F #224786
split-complementary
#862279 #478622 #228661
monochromatic
#240921 #55164D #862279 #B72EA5 #D350C2

Accessibility & contrast

On white

8.34
#862279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#862279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862279
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862279#FFFFFF#000000##FFFFFF
##8622791.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862279;
/* rgb */ color: rgb(134, 34, 121);
/* oklch */ color: oklch(44.5% 0.166 333.8);
Tailwind
colors: {
  custom: {
    50: '#ad68a0',
    500: '#862279',
    950: '#000000',
  },
}
SCSS
$custom: #862279;
$custom-light: #ad68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#862279",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 307.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4454,
    "c": 0.166,
    "h": 333.8
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#862279
secondary
#4EB65B
accent
#E35A45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862279

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

Preview Lab → · Contrast checker → · Palette generator →

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