#6E2277#6E2277

#6E2277 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.151 H 323.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#6E2277
RGBrgb(110, 34, 119)
HSLhsl(294, 56%, 30%)
HSVhsv(294, 71%, 47%)
CMYKcmyk(7.6%, 71.4%, 0%, 53.3%)
CIE-LABlab(28.88, 45.18, -32.43)
CIE-LCHlch(28.88, 55.61, 324.32°)
OKLaboklab(40.65% 0.1213 -0.0904)
OKLCHoklch(40.65% 0.151 323.3)
XYZxyz(10.3319, 5.7916, 18.0229)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2277 #2B7722
analogous
#432277 #6E2277 #772256
triadic
#6E2277 #776E22 #22776E
tetradic
#6E2277 #774322 #2B7722 #225677
square
#6E2277 #774322 #2B7722 #225677
split-complementary
#6E2277 #567722 #227743
monochromatic
#160718 #421447 #6E2277 #9A30A7 #BD49CB

Accessibility & contrast

On white

9.73
#6E2277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6E2277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2277
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2277#FFFFFF#000000##FFFFFF
##6E22771.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093E79
Deuteranopia (green-blind)
#2F4775
Tritanopia (blue-blind)
#70304A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e2277;
/* rgb */ color: rgb(110, 34, 119);
/* oklch */ color: oklch(40.6% 0.151 323.3);
Tailwind
colors: {
  custom: {
    50: '#9a649f',
    500: '#6e2277',
    950: '#000000',
  },
}
SCSS
$custom: #6e2277;
$custom-light: #9a649f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2277",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 293.647,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.40649,
    "c": 0.15123,
    "h": 323.3
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#6E2277
secondary
#55AA4B
accent
#DF4959
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2277

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

Preview Lab → · Contrast checker → · Palette generator →

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