#6C27C4#6C27C4

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

Color values

HEX#6C27C4
RGBrgb(108, 39, 196)
HSLhsl(266, 67%, 46%)
HSVhsv(266, 80%, 77%)
CMYKcmyk(44.9%, 80.1%, 0%, 23.1%)
CIE-LABlab(35.25, 60.09, -68.95)
CIE-LCHlch(35.25, 91.46, 311.07°)
OKLaboklab(46.94% 0.0987 -0.1976)
OKLCHoklch(46.94% 0.221 296.5)
XYZxyz(16.8710, 8.6243, 52.9896)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C27C4 #7FC427
analogous
#2731C4 #6C27C4 #BA27C4
triadic
#6C27C4 #C46C27 #27C46C
tetradic
#6C27C4 #C42731 #7FC427 #27C4BA
square
#6C27C4 #C42731 #7FC427 #27C4BA
split-complementary
#6C27C4 #C4BA27 #31C427
monochromatic
#34135E #501D91 #6C27C4 #8B4DDC #AD80E6

Accessibility & contrast

On white

7.71
#6C27C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6C27C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C27C4
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C27C4#FFFFFF#000000##FFFFFF
##6C27C41.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#545476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c27c4;
/* rgb */ color: rgb(108, 39, 196);
/* oklch */ color: oklch(46.9% 0.221 296.5);
Tailwind
colors: {
  custom: {
    50: '#9f6ad7',
    500: '#6c27c4',
    950: '#000000',
  },
}
SCSS
$custom: #6c27c4;
$custom-light: #9f6ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c27c4",
  "rgb": {
    "r": 108,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 266.369,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46938,
    "c": 0.2209,
    "h": 296.5
  },
  "luminance": 0.08625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C27C4

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

Preview Lab → · Contrast checker → · Palette generator →

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