#6E27AE#6E27AE

#6E27AE is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.3% C 0.199 H 302.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6E27AE
RGBrgb(110, 39, 174)
HSLhsl(272, 63%, 42%)
HSVhsv(272, 78%, 68%)
CMYKcmyk(36.8%, 77.6%, 0%, 31.8%)
CIE-LABlab(33.61, 55.13, -58.62)
CIE-LCHlch(33.61, 80.47, 313.24°)
OKLaboklab(45.27% 0.108 -0.1672)
OKLCHoklch(45.27% 0.199 302.8)
XYZxyz(14.7941, 7.8220, 40.7666)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27AE #67AE27
analogous
#2B27AE #6E27AE #AE27AA
triadic
#6E27AE #AE6E27 #27AE6E
tetradic
#6E27AE #AE2B27 #67AE27 #27AAAE
square
#6E27AE #AE2B27 #67AE27 #27AAAE
split-complementary
#6E27AE #AAAE27 #27AE2B
monochromatic
#2F114A #4E1C7C #6E27AE #8D3ED4 #AB70DF

Accessibility & contrast

On white

8.19
#6E27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6E27AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27AE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27AE#FFFFFF#000000##FFFFFF
##6E27AE1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#614A6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e27ae;
/* rgb */ color: rgb(110, 39, 174);
/* oklch */ color: oklch(45.3% 0.199 302.8);
Tailwind
colors: {
  custom: {
    50: '#9e69c7',
    500: '#6e27ae',
    950: '#000000',
  },
}
SCSS
$custom: #6e27ae;
$custom-light: #9e69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27ae",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 271.556,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45266,
    "c": 0.19904,
    "h": 302.8
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#6E27AE
secondary
#96C66B
accent
#E64190
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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