#6E2278#6E2278

#6E2278 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.152 H 322.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#6E2278
RGBrgb(110, 34, 120)
HSLhsl(293, 56%, 30%)
HSVhsv(293, 72%, 47%)
CMYKcmyk(8.3%, 71.7%, 0%, 52.9%)
CIE-LABlab(28.94, 45.37, -32.97)
CIE-LCHlch(28.94, 56.08, 324.00°)
OKLaboklab(40.71% 0.1213 -0.0919)
OKLCHoklch(40.71% 0.152 322.8)
XYZxyz(10.3923, 5.8157, 18.3408)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2278 #2C7822
analogous
#432278 #6E2278 #782257
triadic
#6E2278 #786E22 #22786E
tetradic
#6E2278 #784322 #2C7822 #225778
square
#6E2278 #784322 #2C7822 #225778
split-complementary
#6E2278 #577822 #227843
monochromatic
#170719 #421448 #6E2278 #9A30A8 #BC49CB

Accessibility & contrast

On white

9.71
#6E2278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2278
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2278#FFFFFF#000000##FFFFFF
##6E22781.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073F7A
Deuteranopia (green-blind)
#2F4776
Tritanopia (blue-blind)
#70314A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e2278;
/* rgb */ color: rgb(110, 34, 120);
/* oklch */ color: oklch(40.7% 0.152 322.8);
Tailwind
colors: {
  custom: {
    50: '#9a649f',
    500: '#6e2278',
    950: '#000000',
  },
}
SCSS
$custom: #6e2278;
$custom-light: #9a649f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2278",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 293.023,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40714,
    "c": 0.15215,
    "h": 322.8
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#6E2278
secondary
#56AB4B
accent
#DF495A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2278

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

Preview Lab → · Contrast checker → · Palette generator →

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