#6E27AA#6E27AA

#6E27AA is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.195 H 304.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6E27AA
RGBrgb(110, 39, 170)
HSLhsl(273, 63%, 41%)
HSVhsv(273, 77%, 67%)
CMYKcmyk(35.3%, 77.1%, 0%, 33.3%)
CIE-LABlab(33.28, 54.19, -56.75)
CIE-LCHlch(33.28, 78.47, 313.67°)
OKLaboklab(44.94% 0.109 -0.1617)
OKLCHoklch(44.94% 0.195 304)
XYZxyz(14.4099, 7.6683, 38.7434)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27AA #63AA27
analogous
#2C27AA #6E27AA #AA27A4
triadic
#6E27AA #AA6E27 #27AA6E
tetradic
#6E27AA #AA2C27 #63AA27 #27A4AA
square
#6E27AA #AA2C27 #63AA27 #27A4AA
split-complementary
#6E27AA #A4AA27 #27AA2C
monochromatic
#2E1046 #4E1C78 #6E27AA #8D3CD2 #AA6EDE

Accessibility & contrast

On white

8.29
#6E27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6E27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27AA
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27AA#FFFFFF#000000##FFFFFF
##6E27AA1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#624967
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e27aa;
/* rgb */ color: rgb(110, 39, 170);
/* oklch */ color: oklch(44.9% 0.195 304.0);
Tailwind
colors: {
  custom: {
    50: '#9d69c4',
    500: '#6e27aa',
    950: '#000000',
  },
}
SCSS
$custom: #6e27aa;
$custom-light: #9d69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27aa",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 272.519,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44935,
    "c": 0.19502,
    "h": 304
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#6E27AA
secondary
#93C469
accent
#E6428D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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