#6E2876#6E2876

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

Color values

HEX#6E2876
RGBrgb(110, 40, 118)
HSLhsl(294, 49%, 31%)
HSVhsv(294, 66%, 46%)
CMYKcmyk(6.8%, 66.1%, 0%, 53.7%)
CIE-LABlab(29.77, 42.33, -30.39)
CIE-LCHlch(29.77, 52.11, 324.33°)
OKLaboklab(41.27% 0.114 -0.0845)
OKLCHoklch(41.27% 0.142 323.5)
XYZxyz(10.4589, 6.1412, 17.7705)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2876 #307628
analogous
#472876 #6E2876 #762857
triadic
#6E2876 #766E28 #28766E
tetradic
#6E2876 #764728 #307628 #285776
square
#6E2876 #764728 #307628 #285776
split-complementary
#6E2876 #577628 #287647
monochromatic
#19091B #431948 #6E2876 #9937A4 #B954C5

Accessibility & contrast

On white

9.42
#6E2876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6E2876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2876
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2876#FFFFFF#000000##FFFFFF
##6E28761.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184178
Deuteranopia (green-blind)
#344974
Tritanopia (blue-blind)
#70344B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e2876;
/* rgb */ color: rgb(110, 40, 118);
/* oklch */ color: oklch(41.3% 0.142 323.5);
Tailwind
colors: {
  custom: {
    50: '#9a679e',
    500: '#6e2876',
    950: '#000000',
  },
}
SCSS
$custom: #6e2876;
$custom-light: #9a679e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2876",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 293.846,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41268,
    "c": 0.1419,
    "h": 323.5
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#6E2876
secondary
#5BA852
accent
#D94F5D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2876

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

Preview Lab → · Contrast checker → · Palette generator →

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