#6E27BA#6E27BA

#6E27BA is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.3% C 0.211 H 299.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6E27BA
RGBrgb(110, 39, 186)
HSLhsl(269, 65%, 44%)
HSVhsv(269, 79%, 73%)
CMYKcmyk(40.9%, 79%, 0%, 27.1%)
CIE-LABlab(34.62, 57.97, -64.09)
CIE-LCHlch(34.62, 86.42, 312.13°)
OKLaboklab(46.29% 0.1047 -0.1833)
OKLCHoklch(46.29% 0.211 299.7)
XYZxyz(16.0166, 8.3110, 47.2052)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27BA #73BA27
analogous
#2729BA #6E27BA #B827BA
triadic
#6E27BA #BA6E27 #27BA6E
tetradic
#6E27BA #BA2729 #73BA27 #27BAB8
square
#6E27BA #BA2729 #73BA27 #27BAB8
split-complementary
#6E27BA #BAB827 #29BA27
monochromatic
#321255 #501C87 #6E27BA #8D46D8 #AC79E3

Accessibility & contrast

On white

7.89
#6E27BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6E27BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27BA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27BA#FFFFFF#000000##FFFFFF
##6E27BA1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#5C4F71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e27ba;
/* rgb */ color: rgb(110, 39, 186);
/* oklch */ color: oklch(46.3% 0.211 299.7);
Tailwind
colors: {
  custom: {
    50: '#9f6ad0',
    500: '#6e27ba',
    950: '#000000',
  },
}
SCSS
$custom: #6e27ba;
$custom-light: #9f6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27ba",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 268.98,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46287,
    "c": 0.21109,
    "h": 299.7
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#6E27BA
secondary
#A0CB72
accent
#E84097
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6E27BA

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

Preview Lab → · Contrast checker → · Palette generator →

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