#6D27AE#6D27AE

#6D27AE is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.199 H 302.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6D27AE
RGBrgb(109, 39, 174)
HSLhsl(271, 63%, 42%)
HSVhsv(271, 78%, 68%)
CMYKcmyk(37.4%, 77.6%, 0%, 31.8%)
CIE-LABlab(33.47, 54.96, -58.84)
CIE-LCHlch(33.47, 80.51, 313.04°)
OKLaboklab(45.14% 0.1065 -0.1679)
OKLCHoklch(45.14% 0.199 302.4)
XYZxyz(14.6703, 7.7582, 40.7608)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D27AE #68AE27
analogous
#2A27AE #6D27AE #AE27AC
triadic
#6D27AE #AE6D27 #27AE6D
tetradic
#6D27AE #AE2A27 #68AE27 #27ACAE
square
#6D27AE #AE2A27 #68AE27 #27ACAE
split-complementary
#6D27AE #ACAE27 #27AE2A
monochromatic
#2E114A #4E1C7C #6D27AE #8C3ED4 #AA70DF

Accessibility & contrast

On white

8.23
#6D27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6D27AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D27AE
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D27AE#FFFFFF#000000##FFFFFF
##6D27AE1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#5F4A6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d27ae;
/* rgb */ color: rgb(109, 39, 174);
/* oklch */ color: oklch(45.1% 0.199 302.4);
Tailwind
colors: {
  custom: {
    50: '#9d69c7',
    500: '#6d27ae',
    950: '#000000',
  },
}
SCSS
$custom: #6d27ae;
$custom-light: #9d69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d27ae",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 271.111,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.19886,
    "h": 302.4
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#6D27AE
secondary
#97C66B
accent
#E64191
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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