#6B27AB#6B27AB

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

Color values

HEX#6B27AB
RGBrgb(107, 39, 171)
HSLhsl(271, 63%, 41%)
HSVhsv(271, 77%, 67%)
CMYKcmyk(37.4%, 77.2%, 0%, 32.9%)
CIE-LABlab(32.96, 53.90, -57.90)
CIE-LCHlch(32.96, 79.11, 312.95°)
OKLaboklab(44.64% 0.1044 -0.1652)
OKLCHoklch(44.64% 0.195 302.3)
XYZxyz(14.1378, 7.5171, 39.2263)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B27AB #67AB27
analogous
#2927AB #6B27AB #AB27A9
triadic
#6B27AB #AB6B27 #27AB6B
tetradic
#6B27AB #AB2927 #67AB27 #27A9AB
square
#6B27AB #AB2927 #67AB27 #27A9AB
split-complementary
#6B27AB #A9AB27 #27AB29
monochromatic
#2D1047 #4C1C79 #6B27AB #8A3DD3 #A86EDE

Accessibility & contrast

On white

8.39
#6B27AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B27AB
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B27AB#FFFFFF#000000##FFFFFF
##6B27AB1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#5D4968
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b27ab;
/* rgb */ color: rgb(107, 39, 171);
/* oklch */ color: oklch(44.6% 0.195 302.3);
Tailwind
colors: {
  custom: {
    50: '#9b69c5',
    500: '#6b27ab',
    950: '#000000',
  },
}
SCSS
$custom: #6b27ab;
$custom-light: #9b69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b27ab",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 270.909,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44644,
    "c": 0.19543,
    "h": 302.3
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#6B27AB
secondary
#96C569
accent
#E64291
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B27AB

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

Preview Lab → · Contrast checker → · Palette generator →

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