#6A27AA#6A27AA

#6A27AA is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.194 H 302.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6A27AA
RGBrgb(106, 39, 170)
HSLhsl(271, 63%, 41%)
HSVhsv(271, 77%, 67%)
CMYKcmyk(37.6%, 77.1%, 0%, 33.3%)
CIE-LABlab(32.74, 53.49, -57.66)
CIE-LCHlch(32.74, 78.66, 312.85°)
OKLaboklab(44.44% 0.1032 -0.1646)
OKLCHoklch(44.44% 0.194 302.1)
XYZxyz(13.9233, 7.4174, 38.7206)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A27AA #67AA27
analogous
#2827AA #6A27AA #AA27A8
triadic
#6A27AA #AA6A27 #27AA6A
tetradic
#6A27AA #AA2827 #67AA27 #27A8AA
square
#6A27AA #AA2827 #67AA27 #27A8AA
split-complementary
#6A27AA #A8AA27 #27AA28
monochromatic
#2C1046 #4B1C78 #6A27AA #893CD2 #A76EDE

Accessibility & contrast

On white

8.46
#6A27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6A27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A27AA
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A27AA#FFFFFF#000000##FFFFFF
##6A27AA1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a27aa;
/* rgb */ color: rgb(106, 39, 170);
/* oklch */ color: oklch(44.4% 0.194 302.1);
Tailwind
colors: {
  custom: {
    50: '#9b69c4',
    500: '#6a27aa',
    950: '#000000',
  },
}
SCSS
$custom: #6a27aa;
$custom-light: #9b69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a27aa",
  "rgb": {
    "r": 106,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 270.687,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44437,
    "c": 0.19423,
    "h": 302.1
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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