#6E2799#6E2799

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

Color values

HEX#6E2799
RGBrgb(110, 39, 153)
HSLhsl(277, 59%, 38%)
HSVhsv(277, 75%, 60%)
CMYKcmyk(28.1%, 74.5%, 0%, 40%)
CIE-LABlab(31.96, 50.27, -48.63)
CIE-LCHlch(31.96, 69.94, 315.95°)
OKLaboklab(43.59% 0.1125 -0.1378)
OKLCHoklch(43.59% 0.178 309.2)
XYZxyz(12.9045, 7.0662, 30.8149)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2799 #529927
analogous
#352799 #6E2799 #99278B
triadic
#6E2799 #996E27 #27996E
tetradic
#6E2799 #993527 #529927 #278B99
square
#6E2799 #993527 #529927 #278B99
split-complementary
#6E2799 #8B9927 #279935
monochromatic
#280E37 #4B1B68 #6E2799 #9133CA #AB63D7

Accessibility & contrast

On white

8.70
#6E2799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6E2799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2799
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2799#FFFFFF#000000##FFFFFF
##6E27991.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#074C97
Tritanopia (blue-blind)
#68425E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e2799;
/* rgb */ color: rgb(110, 39, 153);
/* oklch */ color: oklch(43.6% 0.178 309.2);
Tailwind
colors: {
  custom: {
    50: '#9c68b8',
    500: '#6e2799',
    950: '#000000',
  },
}
SCSS
$custom: #6e2799;
$custom-light: #9c68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2799",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 277.368,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43586,
    "c": 0.17792,
    "h": 309.2
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#6E2799
secondary
#82BD5F
accent
#E34581
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2799

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

Preview Lab → · Contrast checker → · Palette generator →

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