#6B27AC#6B27AC

#6B27AC is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.196 H 302.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6B27AC
RGBrgb(107, 39, 172)
HSLhsl(271, 63%, 41%)
HSVhsv(271, 77%, 67%)
CMYKcmyk(37.8%, 77.3%, 0%, 32.5%)
CIE-LABlab(33.04, 54.14, -58.37)
CIE-LCHlch(33.04, 79.61, 312.85°)
OKLaboklab(44.73% 0.1041 -0.1666)
OKLCHoklch(44.73% 0.196 302)
XYZxyz(14.2335, 7.5553, 39.7302)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B27AC #68AC27
analogous
#2927AC #6B27AC #AC27AB
triadic
#6B27AC #AC6B27 #27AC6B
tetradic
#6B27AC #AC2927 #68AC27 #27ABAC
square
#6B27AC #AC2927 #68AC27 #27ABAC
split-complementary
#6B27AC #ABAC27 #27AC29
monochromatic
#2D1048 #4C1C7A #6B27AC #8A3DD3 #A86FDE

Accessibility & contrast

On white

8.36
#6B27AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B27AC
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B27AC#FFFFFF#000000##FFFFFF
##6B27AC1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#5D4A69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b27ac;
/* rgb */ color: rgb(107, 39, 172);
/* oklch */ color: oklch(44.7% 0.196 302.0);
Tailwind
colors: {
  custom: {
    50: '#9b69c6',
    500: '#6b27ac',
    950: '#000000',
  },
}
SCSS
$custom: #6b27ac;
$custom-light: #9b69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b27ac",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 270.677,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44728,
    "c": 0.19645,
    "h": 302
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#6B27AC
secondary
#96C56A
accent
#E64292
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B27AC

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

Preview Lab → · Contrast checker → · Palette generator →

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