#6B27C4#6B27C4

#6B27C4 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.221 H 296.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6B27C4
RGBrgb(107, 39, 196)
HSLhsl(266, 67%, 46%)
HSVhsv(266, 80%, 77%)
CMYKcmyk(45.4%, 80.1%, 0%, 23.1%)
CIE-LABlab(35.13, 59.95, -69.16)
CIE-LCHlch(35.13, 91.53, 310.92°)
OKLaboklab(46.83% 0.0972 -0.1983)
OKLCHoklch(46.83% 0.221 296.1)
XYZxyz(16.7501, 8.5620, 52.9840)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B27C4 #80C427
analogous
#2731C4 #6B27C4 #B927C4
triadic
#6B27C4 #C46B27 #27C46B
tetradic
#6B27C4 #C42731 #80C427 #27C4B9
square
#6B27C4 #C42731 #80C427 #27C4B9
split-complementary
#6B27C4 #C4B927 #31C427
monochromatic
#33135E #4F1D91 #6B27C4 #8B4DDC #AC80E6

Accessibility & contrast

On white

7.74
#6B27C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6B27C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B27C4
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B27C4#FFFFFF#000000##FFFFFF
##6B27C41.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#525476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6b27c4;
/* rgb */ color: rgb(107, 39, 196);
/* oklch */ color: oklch(46.8% 0.221 296.1);
Tailwind
colors: {
  custom: {
    50: '#9e6ad7',
    500: '#6b27c4',
    950: '#000000',
  },
}
SCSS
$custom: #6b27c4;
$custom-light: #9e6ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b27c4",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 265.987,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46825,
    "c": 0.22082,
    "h": 296.1
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#6B27C4
secondary
#A9CE79
accent
#EA3E9F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6B27C4

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

Preview Lab → · Contrast checker → · Palette generator →

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