#862277#862277

#862277 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.164 H 334.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#862277
RGBrgb(134, 34, 119)
HSLhsl(309, 60%, 33%)
HSVhsv(309, 75%, 53%)
CMYKcmyk(0%, 74.6%, 11.2%, 47.5%)
CIE-LABlab(33.02, 51.09, -25.62)
CIE-LCHlch(33.02, 57.15, 333.37°)
OKLaboklab(44.43% 0.1488 -0.07)
OKLCHoklch(44.43% 0.164 334.8)
XYZxyz(13.7335, 7.5455, 18.1823)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862277 #228631
analogous
#632286 #862277 #862245
triadic
#862277 #778622 #227786
tetradic
#862277 #866322 #228631 #224586
square
#862277 #866322 #228631 #224586
split-complementary
#862277 #458622 #228663
monochromatic
#240920 #55164C #862277 #B72EA2 #D350BF

Accessibility & contrast

On white

8.37
#862277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862277
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862277#FFFFFF#000000##FFFFFF
##8622771.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214479
Deuteranopia (green-blind)
#455375
Tritanopia (blue-blind)
#8D2A4A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862277;
/* rgb */ color: rgb(134, 34, 119);
/* oklch */ color: oklch(44.4% 0.164 334.8);
Tailwind
colors: {
  custom: {
    50: '#ad689e',
    500: '#862277',
    950: '#000000',
  },
}
SCSS
$custom: #862277;
$custom-light: #ad689e;
$custom-dark: #000000;
JSON
{
  "hex": "#862277",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 309,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4443,
    "c": 0.16449,
    "h": 334.8
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#862277
secondary
#4EB65D
accent
#E35D45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862277

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

Preview Lab → · Contrast checker → · Palette generator →

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