#6E2772#6E2772

#6E2772 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.9% C 0.140 H 325.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#6E2772
RGBrgb(110, 39, 114)
HSLhsl(297, 49%, 30%)
HSVhsv(297, 66%, 45%)
CMYKcmyk(3.5%, 65.8%, 0%, 55.3%)
CIE-LABlab(29.37, 42.01, -28.48)
CIE-LCHlch(29.37, 50.75, 325.86°)
OKLaboklab(40.9% 0.1151 -0.0789)
OKLCHoklch(40.9% 0.14 325.6)
XYZxyz(10.1930, 5.9816, 16.5340)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2772 #2B7227
analogous
#482772 #6E2772 #722751
triadic
#6E2772 #726E27 #27726E
tetradic
#6E2772 #724827 #2B7227 #275172
square
#6E2772 #724827 #2B7227 #275172
split-complementary
#6E2772 #517227 #277248
monochromatic
#160817 #421744 #6E2772 #9A37A0 #BD50C3

Accessibility & contrast

On white

9.56
#6E2772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6E2772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2772
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2772#FFFFFF#000000##FFFFFF
##6E27721.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4074
Deuteranopia (green-blind)
#364870
Tritanopia (blue-blind)
#713249
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e2772;
/* rgb */ color: rgb(110, 39, 114);
/* oklch */ color: oklch(40.9% 0.140 325.6);
Tailwind
colors: {
  custom: {
    50: '#9a679b',
    500: '#6e2772',
    950: '#000000',
  },
}
SCSS
$custom: #6e2772;
$custom-light: #9a679b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2772",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 296.8,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.40903,
    "c": 0.13958,
    "h": 325.6
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#6E2772
secondary
#55A450
accent
#D94F57
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2772

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

Preview Lab → · Contrast checker → · Palette generator →

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