#6E2778#6E2778

#6E2778 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.145 H 322.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#6E2778
RGBrgb(110, 39, 120)
HSLhsl(293, 51%, 31%)
HSVhsv(293, 68%, 47%)
CMYKcmyk(8.3%, 67.5%, 0%, 52.9%)
CIE-LABlab(29.72, 43.19, -31.73)
CIE-LCHlch(29.72, 53.59, 323.70°)
OKLaboklab(41.27% 0.1153 -0.0884)
OKLCHoklch(41.27% 0.145 322.5)
XYZxyz(10.5457, 6.1227, 18.3920)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2778 #317827
analogous
#452778 #6E2778 #782759
triadic
#6E2778 #786E27 #27786E
tetradic
#6E2778 #784527 #317827 #275978
square
#6E2778 #784527 #317827 #275978
split-complementary
#6E2778 #597827 #277845
monochromatic
#19091C #44184A #6E2778 #9836A6 #B952C7

Accessibility & contrast

On white

9.44
#6E2778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6E2778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2778
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2778#FFFFFF#000000##FFFFFF
##6E27781.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13417A
Deuteranopia (green-blind)
#324976
Tritanopia (blue-blind)
#70344C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e2778;
/* rgb */ color: rgb(110, 39, 120);
/* oklch */ color: oklch(41.3% 0.145 322.5);
Tailwind
colors: {
  custom: {
    50: '#9a679f',
    500: '#6e2778',
    950: '#000000',
  },
}
SCSS
$custom: #6e2778;
$custom-light: #9a679f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2778",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 292.593,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41273,
    "c": 0.14528,
    "h": 322.5
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#6E2778
secondary
#5CAA51
accent
#DA4D5F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2778

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

Preview Lab → · Contrast checker → · Palette generator →

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