#6E27AB#6E27AB

#6E27AB is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.196 H 303.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#6E27AB
RGBrgb(110, 39, 171)
HSLhsl(272, 63%, 41%)
HSVhsv(272, 77%, 67%)
CMYKcmyk(35.7%, 77.2%, 0%, 32.9%)
CIE-LABlab(33.36, 54.42, -57.22)
CIE-LCHlch(33.36, 78.97, 313.56°)
OKLaboklab(45.02% 0.1087 -0.1631)
OKLCHoklch(45.02% 0.196 303.7)
XYZxyz(14.5049, 7.7063, 39.2435)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27AB #64AB27
analogous
#2C27AB #6E27AB #AB27A6
triadic
#6E27AB #AB6E27 #27AB6E
tetradic
#6E27AB #AB2C27 #64AB27 #27A6AB
square
#6E27AB #AB2C27 #64AB27 #27A6AB
split-complementary
#6E27AB #A6AB27 #27AB2C
monochromatic
#2E1047 #4E1C79 #6E27AB #8D3DD3 #AA6EDE

Accessibility & contrast

On white

8.26
#6E27AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6E27AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27AB
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27AB#FFFFFF#000000##FFFFFF
##6E27AB1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#624968
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e27ab;
/* rgb */ color: rgb(110, 39, 171);
/* oklch */ color: oklch(45.0% 0.196 303.7);
Tailwind
colors: {
  custom: {
    50: '#9d69c5',
    500: '#6e27ab',
    950: '#000000',
  },
}
SCSS
$custom: #6e27ab;
$custom-light: #9d69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27ab",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 272.273,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45017,
    "c": 0.19603,
    "h": 303.7
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#6E27AB
secondary
#93C569
accent
#E6428E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E27AB

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

Preview Lab → · Contrast checker → · Palette generator →

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