#6E2797#6E2797

#6E2797 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.176 H 309.9°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6E2797
RGBrgb(110, 39, 151)
HSLhsl(278, 59%, 37%)
HSVhsv(278, 74%, 59%)
CMYKcmyk(27.2%, 74.2%, 0%, 40.8%)
CIE-LABlab(31.81, 49.82, -47.64)
CIE-LCHlch(31.81, 68.93, 316.28°)
OKLaboklab(43.43% 0.1128 -0.135)
OKLCHoklch(43.43% 0.176 309.9)
XYZxyz(12.7407, 7.0007, 29.9522)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2797 #509727
analogous
#362797 #6E2797 #972788
triadic
#6E2797 #976E27 #27976E
tetradic
#6E2797 #973627 #509727 #278897
square
#6E2797 #973627 #509727 #278897
split-complementary
#6E2797 #889727 #279736
monochromatic
#270E36 #4B1A66 #6E2797 #9134C8 #AC62D6

Accessibility & contrast

On white

8.75
#6E2797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6E2797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2797
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2797#FFFFFF#000000##FFFFFF
##6E27971.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#0D4C95
Tritanopia (blue-blind)
#68415D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e2797;
/* rgb */ color: rgb(110, 39, 151);
/* oklch */ color: oklch(43.4% 0.176 309.9);
Tailwind
colors: {
  custom: {
    50: '#9c68b6',
    500: '#6e2797',
    950: '#000000',
  },
}
SCSS
$custom: #6e2797;
$custom-light: #9c68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2797",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 278.036,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43434,
    "c": 0.17591,
    "h": 309.9
  },
  "luminance": 0.07
}

Semantic roles & 50–950 ramp

primary
#6E2797
secondary
#80BC5E
accent
#E2467F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2797

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

Preview Lab → · Contrast checker → · Palette generator →

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