#6E2179#6E2179

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

Color values

HEX#6E2179
RGBrgb(110, 33, 121)
HSLhsl(293, 57%, 30%)
HSVhsv(293, 73%, 47%)
CMYKcmyk(9.1%, 72.7%, 0%, 52.5%)
CIE-LABlab(28.86, 45.98, -33.73)
CIE-LCHlch(28.86, 57.02, 323.73°)
OKLaboklab(40.67% 0.1223 -0.0941)
OKLCHoklch(40.67% 0.154 322.4)
XYZxyz(10.4251, 5.7838, 18.6527)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2179 #2C7921
analogous
#422179 #6E2179 #792158
triadic
#6E2179 #796E21 #21796E
tetradic
#6E2179 #794221 #2C7921 #215879
square
#6E2179 #794221 #2C7921 #215879
split-complementary
#6E2179 #587921 #217942
monochromatic
#170719 #421449 #6E2179 #9A2EA9 #BC47CD

Accessibility & contrast

On white

9.74
#6E2179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2179
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2179#FFFFFF#000000##FFFFFF
##6E21791.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7B
Deuteranopia (green-blind)
#2D4777
Tritanopia (blue-blind)
#6F314A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e2179;
/* rgb */ color: rgb(110, 33, 121);
/* oklch */ color: oklch(40.7% 0.154 322.4);
Tailwind
colors: {
  custom: {
    50: '#9b64a0',
    500: '#6e2179',
    950: '#000000',
  },
}
SCSS
$custom: #6e2179;
$custom-light: #9b64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2179",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 292.5,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40675,
    "c": 0.15437,
    "h": 322.4
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#6E2179
secondary
#56AC4A
accent
#E0475B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6E2179

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

Preview Lab → · Contrast checker → · Palette generator →

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