#6E2178#6E2178

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

Color values

HEX#6E2178
RGBrgb(110, 33, 120)
HSLhsl(293, 57%, 30%)
HSVhsv(293, 73%, 47%)
CMYKcmyk(8.3%, 72.5%, 0%, 52.9%)
CIE-LABlab(28.80, 45.78, -33.20)
CIE-LCHlch(28.80, 56.55, 324.05°)
OKLaboklab(40.61% 0.1224 -0.0926)
OKLCHoklch(40.61% 0.153 322.9)
XYZxyz(10.3641, 5.7594, 18.3314)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2178 #2B7821
analogous
#422178 #6E2178 #782157
triadic
#6E2178 #786E21 #21786E
tetradic
#6E2178 #784221 #2B7821 #215778
square
#6E2178 #784221 #2B7821 #215778
split-complementary
#6E2178 #577821 #217842
monochromatic
#160718 #421448 #6E2178 #9A2EA8 #BD47CC

Accessibility & contrast

On white

9.76
#6E2178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2178
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2178#FFFFFF#000000##FFFFFF
##6E21781.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043E7A
Deuteranopia (green-blind)
#2E4776
Tritanopia (blue-blind)
#70304A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e2178;
/* rgb */ color: rgb(110, 33, 120);
/* oklch */ color: oklch(40.6% 0.153 322.9);
Tailwind
colors: {
  custom: {
    50: '#9b649f',
    500: '#6e2178',
    950: '#000000',
  },
}
SCSS
$custom: #6e2178;
$custom-light: #9b649f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2178",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 293.103,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.4061,
    "c": 0.15345,
    "h": 322.9
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#6E2178
secondary
#55AB4A
accent
#E04859
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2178

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

Preview Lab → · Contrast checker → · Palette generator →

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