#6A27AC#6A27AC

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

Color values

HEX#6A27AC
RGBrgb(106, 39, 172)
HSLhsl(270, 63%, 41%)
HSVhsv(270, 77%, 67%)
CMYKcmyk(38.4%, 77.3%, 0%, 32.5%)
CIE-LABlab(32.91, 53.97, -58.59)
CIE-LCHlch(32.91, 79.66, 312.65°)
OKLaboklab(44.61% 0.1027 -0.1673)
OKLCHoklch(44.61% 0.196 301.5)
XYZxyz(14.1140, 7.4937, 39.7246)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A27AC #69AC27
analogous
#2827AC #6A27AC #AC27AC
triadic
#6A27AC #AC6A27 #27AC6A
tetradic
#6A27AC #AC2827 #69AC27 #27ACAC
square
#6A27AC #AC2827 #69AC27 #27ACAC
split-complementary
#6A27AC #ACAC27 #27AC28
monochromatic
#2D1048 #4B1C7A #6A27AC #893DD3 #A76FDE

Accessibility & contrast

On white

8.40
#6A27AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A27AC
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A27AC#FFFFFF#000000##FFFFFF
##6A27AC1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a27ac;
/* rgb */ color: rgb(106, 39, 172);
/* oklch */ color: oklch(44.6% 0.196 301.5);
Tailwind
colors: {
  custom: {
    50: '#9b69c6',
    500: '#6a27ac',
    950: '#000000',
  },
}
SCSS
$custom: #6a27ac;
$custom-light: #9b69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a27ac",
  "rgb": {
    "r": 106,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 270.226,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44606,
    "c": 0.19627,
    "h": 301.5
  },
  "luminance": 0.07494
}

Semantic roles & 50–950 ramp

primary
#6A27AC
secondary
#97C56A
accent
#E64293
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A27AC

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

Preview Lab → · Contrast checker → · Palette generator →

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