#6E2997#6E2997

#6E2997 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.173 H 309.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#6E2997
RGBrgb(110, 41, 151)
HSLhsl(278, 57%, 38%)
HSVhsv(278, 73%, 59%)
CMYKcmyk(27.2%, 72.8%, 0%, 40.8%)
CIE-LABlab(32.11, 48.96, -47.15)
CIE-LCHlch(32.11, 67.97, 316.08°)
OKLaboklab(43.65% 0.1108 -0.1335)
OKLCHoklch(43.65% 0.174 309.7)
XYZxyz(12.8082, 7.1355, 29.9747)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2997 #529729
analogous
#372997 #6E2997 #972989
triadic
#6E2997 #976E29 #29976E
tetradic
#6E2997 #973729 #529729 #298997
square
#6E2997 #973729 #529729 #298997
split-complementary
#6E2997 #899729 #299737
monochromatic
#280F37 #4B1C67 #6E2997 #9136C7 #AB65D5

Accessibility & contrast

On white

8.65
#6E2997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6E2997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2997
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2997#FFFFFF#000000##FFFFFF
##6E29971.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#114D95
Tritanopia (blue-blind)
#68425D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e2997;
/* rgb */ color: rgb(110, 41, 151);
/* oklch */ color: oklch(43.6% 0.173 309.7);
Tailwind
colors: {
  custom: {
    50: '#9c69b6',
    500: '#6e2997',
    950: '#000000',
  },
}
SCSS
$custom: #6e2997;
$custom-light: #9c69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2997",
  "rgb": {
    "r": 110,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 277.636,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4365,
    "c": 0.1735,
    "h": 309.7
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#6E2997
secondary
#82BB61
accent
#E14780
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2997

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

Preview Lab → · Contrast checker → · Palette generator →

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