#6E2177#6E2177

#6E2177 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.153 H 323.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#6E2177
RGBrgb(110, 33, 119)
HSLhsl(294, 57%, 30%)
HSVhsv(294, 72%, 47%)
CMYKcmyk(7.6%, 72.3%, 0%, 53.3%)
CIE-LABlab(28.73, 45.59, -32.67)
CIE-LCHlch(28.73, 56.08, 324.38°)
OKLaboklab(40.54% 0.1224 -0.091)
OKLCHoklch(40.54% 0.153 323.4)
XYZxyz(10.3037, 5.7352, 18.0135)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2177 #2A7721
analogous
#432177 #6E2177 #772155
triadic
#6E2177 #776E21 #21776E
tetradic
#6E2177 #774321 #2A7721 #215577
square
#6E2177 #774321 #2A7721 #215577
split-complementary
#6E2177 #557721 #217743
monochromatic
#160718 #421447 #6E2177 #9A2EA7 #BE47CC

Accessibility & contrast

On white

9.78
#6E2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6E2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2177
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2177#FFFFFF#000000##FFFFFF
##6E21771.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063E79
Deuteranopia (green-blind)
#2F4775
Tritanopia (blue-blind)
#703049
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e2177;
/* rgb */ color: rgb(110, 33, 119);
/* oklch */ color: oklch(40.5% 0.153 323.4);
Tailwind
colors: {
  custom: {
    50: '#9b649f',
    500: '#6e2177',
    950: '#000000',
  },
}
SCSS
$custom: #6e2177;
$custom-light: #9b649f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2177",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 293.721,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40545,
    "c": 0.15255,
    "h": 323.4
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#6E2177
secondary
#54AA4A
accent
#E04858
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2177

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

Preview Lab → · Contrast checker → · Palette generator →

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