#6E27A6#6E27A6

#6E27A6 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.191 H 305.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#6E27A6
RGBrgb(110, 39, 166)
HSLhsl(274, 62%, 40%)
HSVhsv(274, 77%, 65%)
CMYKcmyk(33.7%, 76.5%, 0%, 34.9%)
CIE-LABlab(32.96, 53.25, -54.87)
CIE-LCHlch(32.96, 76.47, 314.14°)
OKLaboklab(44.61% 0.1099 -0.1562)
OKLCHoklch(44.61% 0.191 305.1)
XYZxyz(14.0373, 7.5193, 36.7809)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27A6 #5FA627
analogous
#2E27A6 #6E27A6 #A6279F
triadic
#6E27A6 #A66E27 #27A66E
tetradic
#6E27A6 #A62E27 #5FA627 #279FA6
square
#6E27A6 #A62E27 #5FA627 #279FA6
split-complementary
#6E27A6 #9FA627 #27A62E
monochromatic
#2C1043 #4D1B74 #6E27A6 #8E3AD1 #AA6BDC

Accessibility & contrast

On white

8.39
#6E27A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6E27A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27A6
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27A6#FFFFFF#000000##FFFFFF
##6E27A61.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#634765
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e27a6;
/* rgb */ color: rgb(110, 39, 166);
/* oklch */ color: oklch(44.6% 0.191 305.1);
Tailwind
colors: {
  custom: {
    50: '#9d69c1',
    500: '#6e27a6',
    950: '#000000',
  },
}
SCSS
$custom: #6e27a6;
$custom-light: #9d69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27a6",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 273.543,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44609,
    "c": 0.19099,
    "h": 305.1
  },
  "luminance": 0.07519
}

Semantic roles & 50–950 ramp

primary
#6E27A6
secondary
#8FC366
accent
#E5438A
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E27A6

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

Preview Lab → · Contrast checker → · Palette generator →

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