#6C27AA#6C27AA

#6C27AA is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.195 H 303.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6C27AA
RGBrgb(108, 39, 170)
HSLhsl(272, 63%, 41%)
HSVhsv(272, 77%, 67%)
CMYKcmyk(36.5%, 77.1%, 0%, 33.3%)
CIE-LABlab(33.01, 53.84, -57.21)
CIE-LCHlch(33.01, 78.56, 313.26°)
OKLaboklab(44.69% 0.1061 -0.1632)
OKLCHoklch(44.69% 0.195 303)
XYZxyz(14.1638, 7.5415, 38.7319)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C27AA #65AA27
analogous
#2A27AA #6C27AA #AA27A6
triadic
#6C27AA #AA6C27 #27AA6C
tetradic
#6C27AA #AA2A27 #65AA27 #27A6AA
square
#6C27AA #AA2A27 #65AA27 #27A6AA
split-complementary
#6C27AA #A6AA27 #27AA2A
monochromatic
#2D1046 #4C1C78 #6C27AA #8B3CD2 #A96EDE

Accessibility & contrast

On white

8.37
#6C27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6C27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C27AA
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C27AA#FFFFFF#000000##FFFFFF
##6C27AA1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#5F4967
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c27aa;
/* rgb */ color: rgb(108, 39, 170);
/* oklch */ color: oklch(44.7% 0.195 303.0);
Tailwind
colors: {
  custom: {
    50: '#9c69c4',
    500: '#6c27aa',
    950: '#000000',
  },
}
SCSS
$custom: #6c27aa;
$custom-light: #9c69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c27aa",
  "rgb": {
    "r": 108,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 271.603,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44685,
    "c": 0.19461,
    "h": 303
  },
  "luminance": 0.07541
}

Semantic roles & 50–950 ramp

primary
#6C27AA
secondary
#94C469
accent
#E64290
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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