#6A27AE#6A27AE

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

Color values

HEX#6A27AE
RGBrgb(106, 39, 174)
HSLhsl(270, 63%, 42%)
HSVhsv(270, 78%, 68%)
CMYKcmyk(39.1%, 77.6%, 0%, 31.8%)
CIE-LABlab(33.07, 54.46, -59.51)
CIE-LCHlch(33.07, 80.67, 312.46°)
OKLaboklab(44.78% 0.1021 -0.17)
OKLCHoklch(44.78% 0.198 301)
XYZxyz(14.3075, 7.5711, 40.7438)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A27AE #6BAE27
analogous
#2728AE #6A27AE #AE27AE
triadic
#6A27AE #AE6A27 #27AE6A
tetradic
#6A27AE #AE2728 #6BAE27 #27AEAE
square
#6A27AE #AE2728 #6BAE27 #27AEAE
split-complementary
#6A27AE #AEAE27 #28AE27
monochromatic
#2D114A #4C1C7C #6A27AE #893ED4 #A770DF

Accessibility & contrast

On white

8.35
#6A27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A27AE
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A27AE#FFFFFF#000000##FFFFFF
##6A27AE1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a27ae;
/* rgb */ color: rgb(106, 39, 174);
/* oklch */ color: oklch(44.8% 0.198 301.0);
Tailwind
colors: {
  custom: {
    50: '#9b69c7',
    500: '#6a27ae',
    950: '#000000',
  },
}
SCSS
$custom: #6a27ae;
$custom-light: #9b69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a27ae",
  "rgb": {
    "r": 106,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 269.778,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44775,
    "c": 0.19832,
    "h": 301
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#6A27AE
secondary
#99C66B
accent
#E64195
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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