#6E288E#6E288E

#6E288E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.166 H 313.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6E288E
RGBrgb(110, 40, 142)
HSLhsl(281, 56%, 36%)
HSVhsv(281, 72%, 56%)
CMYKcmyk(22.5%, 71.8%, 0%, 44.3%)
CIE-LABlab(31.31, 47.38, -42.92)
CIE-LCHlch(31.31, 63.93, 317.83°)
OKLaboklab(42.88% 0.113 -0.1211)
OKLCHoklch(42.88% 0.166 313)
XYZxyz(12.0708, 6.7859, 26.2599)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E288E #488E28
analogous
#3B288E #6E288E #8E287B
triadic
#6E288E #8E6E28 #288E6E
tetradic
#6E288E #8E3B28 #488E28 #287B8E
square
#6E288E #8E3B28 #488E28 #287B8E
split-complementary
#6E288E #7B8E28 #288E3B
monochromatic
#240D2F #491B5E #6E288E #9335BE #AE5FD2

Accessibility & contrast

On white

8.91
#6E288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6E288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E288E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E288E#FFFFFF#000000##FFFFFF
##6E288E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#6B3E58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e288e;
/* rgb */ color: rgb(110, 40, 142);
/* oklch */ color: oklch(42.9% 0.166 313.0);
Tailwind
colors: {
  custom: {
    50: '#9b68b0',
    500: '#6e288e',
    950: '#000000',
  },
}
SCSS
$custom: #6e288e;
$custom-light: #9b68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e288e",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 281.176,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42877,
    "c": 0.16563,
    "h": 313
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#6E288E
secondary
#78B75B
accent
#DF4878
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E288E

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

Preview Lab → · Contrast checker → · Palette generator →

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