#6B27AA#6B27AA

#6B27AA is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.194 H 302.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6B27AA
RGBrgb(107, 39, 170)
HSLhsl(271, 63%, 41%)
HSVhsv(271, 77%, 67%)
CMYKcmyk(37.1%, 77.1%, 0%, 33.3%)
CIE-LABlab(32.87, 53.67, -57.44)
CIE-LCHlch(32.87, 78.61, 313.06°)
OKLaboklab(44.56% 0.1046 -0.1639)
OKLCHoklch(44.56% 0.194 302.6)
XYZxyz(14.0429, 7.4791, 38.7262)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B27AA #66AA27
analogous
#2927AA #6B27AA #AA27A7
triadic
#6B27AA #AA6B27 #27AA6B
tetradic
#6B27AA #AA2927 #66AA27 #27A7AA
square
#6B27AA #AA2927 #66AA27 #27A7AA
split-complementary
#6B27AA #A7AA27 #27AA29
monochromatic
#2C1046 #4C1C78 #6B27AA #8A3CD2 #A86EDE

Accessibility & contrast

On white

8.41
#6B27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6B27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B27AA
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B27AA#FFFFFF#000000##FFFFFF
##6B27AA1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b27aa;
/* rgb */ color: rgb(107, 39, 170);
/* oklch */ color: oklch(44.6% 0.194 302.6);
Tailwind
colors: {
  custom: {
    50: '#9b69c4',
    500: '#6b27aa',
    950: '#000000',
  },
}
SCSS
$custom: #6b27aa;
$custom-light: #9b69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b27aa",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 271.145,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44561,
    "c": 0.19441,
    "h": 302.6
  },
  "luminance": 0.07479
}

Semantic roles & 50–950 ramp

primary
#6B27AA
secondary
#95C469
accent
#E64291
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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