#6C27AF#6C27AF

#6C27AF is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.1% C 0.200 H 301.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6C27AF
RGBrgb(108, 39, 175)
HSLhsl(270, 64%, 42%)
HSVhsv(270, 78%, 69%)
CMYKcmyk(38.3%, 77.7%, 0%, 31.4%)
CIE-LABlab(33.42, 55.03, -59.53)
CIE-LCHlch(33.42, 81.06, 312.75°)
OKLaboklab(45.1% 0.1048 -0.17)
OKLCHoklch(45.1% 0.2 301.7)
XYZxyz(14.6458, 7.7343, 41.2704)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C27AF #6AAF27
analogous
#2827AF #6C27AF #AF27AE
triadic
#6C27AF #AF6C27 #27AF6C
tetradic
#6C27AF #AF2827 #6AAF27 #27AEAF
square
#6C27AF #AF2827 #6AAF27 #27AEAF
split-complementary
#6C27AF #AEAF27 #27AF28
monochromatic
#2E114B #4D1C7D #6C27AF #8B3FD4 #A971DF

Accessibility & contrast

On white

8.25
#6C27AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6C27AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C27AF
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C27AF#FFFFFF#000000##FFFFFF
##6C27AF1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#5D4B6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6c27af;
/* rgb */ color: rgb(108, 39, 175);
/* oklch */ color: oklch(45.1% 0.200 301.7);
Tailwind
colors: {
  custom: {
    50: '#9c69c8',
    500: '#6c27af',
    950: '#000000',
  },
}
SCSS
$custom: #6c27af;
$custom-light: #9c69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c27af",
  "rgb": {
    "r": 108,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 270.441,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45104,
    "c": 0.19968,
    "h": 301.7
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#6C27AF
secondary
#98C66B
accent
#E74193
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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