#6E2877#6E2877

#6E2877 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.3% C 0.143 H 323.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#6E2877
RGBrgb(110, 40, 119)
HSLhsl(293, 50%, 31%)
HSVhsv(293, 66%, 47%)
CMYKcmyk(7.6%, 66.4%, 0%, 53.3%)
CIE-LABlab(29.83, 42.53, -30.93)
CIE-LCHlch(29.83, 52.59, 323.98°)
OKLaboklab(41.33% 0.1141 -0.086)
OKLCHoklch(41.33% 0.143 323)
XYZxyz(10.5186, 6.1651, 18.0851)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2877 #317728
analogous
#462877 #6E2877 #772858
triadic
#6E2877 #776E28 #28776E
tetradic
#6E2877 #774628 #317728 #285877
square
#6E2877 #774628 #317728 #285877
split-complementary
#6E2877 #587728 #287746
monochromatic
#19091B #441949 #6E2877 #9837A5 #B954C5

Accessibility & contrast

On white

9.41
#6E2877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6E2877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2877
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2877#FFFFFF#000000##FFFFFF
##6E28771.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164179
Deuteranopia (green-blind)
#334975
Tritanopia (blue-blind)
#70344C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e2877;
/* rgb */ color: rgb(110, 40, 119);
/* oklch */ color: oklch(41.3% 0.143 323.0);
Tailwind
colors: {
  custom: {
    50: '#9a679e',
    500: '#6e2877',
    950: '#000000',
  },
}
SCSS
$custom: #6e2877;
$custom-light: #9a679e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2877",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 293.165,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4133,
    "c": 0.14286,
    "h": 323
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#6E2877
secondary
#5CA952
accent
#D94F5E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2877

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

Preview Lab → · Contrast checker → · Palette generator →

#6E2877 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva