#6E298E#6E298E

#6E298E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.164 H 312.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6E298E
RGBrgb(110, 41, 142)
HSLhsl(281, 55%, 36%)
HSVhsv(281, 71%, 56%)
CMYKcmyk(22.5%, 71.1%, 0%, 44.3%)
CIE-LABlab(31.47, 46.94, -42.66)
CIE-LCHlch(31.47, 63.43, 317.73°)
OKLaboklab(42.99% 0.1119 -0.1203)
OKLCHoklch(42.99% 0.164 312.9)
XYZxyz(12.1050, 6.8542, 26.2713)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E298E #498E29
analogous
#3B298E #6E298E #8E297B
triadic
#6E298E #8E6E29 #298E6E
tetradic
#6E298E #8E3B29 #498E29 #297B8E
square
#6E298E #8E3B29 #498E29 #297B8E
split-complementary
#6E298E #7B8E29 #298E3B
monochromatic
#240E2F #491B5F #6E298E #9337BD #AD60D1

Accessibility & contrast

On white

8.86
#6E298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6E298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E298E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E298E#FFFFFF#000000##FFFFFF
##6E298E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#204C8C
Tritanopia (blue-blind)
#6B3E58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e298e;
/* rgb */ color: rgb(110, 41, 142);
/* oklch */ color: oklch(43.0% 0.164 312.9);
Tailwind
colors: {
  custom: {
    50: '#9b69b0',
    500: '#6e298e',
    950: '#000000',
  },
}
SCSS
$custom: #6e298e;
$custom-light: #9b69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e298e",
  "rgb": {
    "r": 110,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 280.99,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4299,
    "c": 0.16433,
    "h": 312.9
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#6E298E
secondary
#79B75C
accent
#DF4979
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E298E

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

Preview Lab → · Contrast checker → · Palette generator →

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