#6B27AE#6B27AE

#6B27AE is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.9% C 0.198 H 301.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#6B27AE
RGBrgb(107, 39, 174)
HSLhsl(270, 63%, 42%)
HSVhsv(270, 78%, 68%)
CMYKcmyk(38.5%, 77.6%, 0%, 31.8%)
CIE-LABlab(33.21, 54.62, -59.29)
CIE-LCHlch(33.21, 80.62, 312.65°)
OKLaboklab(44.9% 0.1036 -0.1693)
OKLCHoklch(44.9% 0.198 301.5)
XYZxyz(14.4270, 7.6327, 40.7494)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B27AE #6AAE27
analogous
#2827AE #6B27AE #AE27AE
triadic
#6B27AE #AE6B27 #27AE6B
tetradic
#6B27AE #AE2827 #6AAE27 #27AEAE
square
#6B27AE #AE2827 #6AAE27 #27AEAE
split-complementary
#6B27AE #AEAE27 #27AE28
monochromatic
#2E114A #4C1C7C #6B27AE #8A3ED4 #A870DF

Accessibility & contrast

On white

8.31
#6B27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6B27AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B27AE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B27AE#FFFFFF#000000##FFFFFF
##6B27AE1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#5C4B6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b27ae;
/* rgb */ color: rgb(107, 39, 174);
/* oklch */ color: oklch(44.9% 0.198 301.5);
Tailwind
colors: {
  custom: {
    50: '#9c69c7',
    500: '#6b27ae',
    950: '#000000',
  },
}
SCSS
$custom: #6b27ae;
$custom-light: #9c69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b27ae",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 270.222,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44897,
    "c": 0.19849,
    "h": 301.5
  },
  "luminance": 0.07633
}

Semantic roles & 50–950 ramp

primary
#6B27AE
secondary
#98C66B
accent
#E64193
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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