#6E27BD#6E27BD

#6E27BD is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.214 H 299.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6E27BD
RGBrgb(110, 39, 189)
HSLhsl(268, 66%, 45%)
HSVhsv(268, 79%, 74%)
CMYKcmyk(41.8%, 79.4%, 0%, 25.9%)
CIE-LABlab(34.88, 58.69, -65.43)
CIE-LCHlch(34.88, 87.90, 311.89°)
OKLaboklab(46.55% 0.1038 -0.1872)
OKLCHoklch(46.55% 0.214 299)
XYZxyz(16.3389, 8.4399, 48.9025)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27BD #76BD27
analogous
#272BBD #6E27BD #B927BD
triadic
#6E27BD #BD6E27 #27BD6E
tetradic
#6E27BD #BD272B #76BD27 #27BDB9
square
#6E27BD #BD272B #76BD27 #27BDB9
split-complementary
#6E27BD #BDB927 #2BBD27
monochromatic
#331258 #501D8A #6E27BD #8D48D9 #AC7BE4

Accessibility & contrast

On white

7.81
#6E27BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6E27BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27BD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27BD#FFFFFF#000000##FFFFFF
##6E27BD1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#5A5172
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e27bd;
/* rgb */ color: rgb(110, 39, 189);
/* oklch */ color: oklch(46.5% 0.214 299.0);
Tailwind
colors: {
  custom: {
    50: '#9f6ad2',
    500: '#6e27bd',
    950: '#000000',
  },
}
SCSS
$custom: #6e27bd;
$custom-light: #9f6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27bd",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 268.4,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46548,
    "c": 0.2141,
    "h": 299
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#6E27BD
secondary
#A2CC74
accent
#E93F98
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6E27BD

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

Preview Lab → · Contrast checker → · Palette generator →

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