#6D27AB#6D27AB

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

Color values

HEX#6D27AB
RGBrgb(109, 39, 171)
HSLhsl(272, 63%, 41%)
HSVhsv(272, 77%, 67%)
CMYKcmyk(36.3%, 77.2%, 0%, 32.9%)
CIE-LABlab(33.23, 54.25, -57.45)
CIE-LCHlch(33.23, 79.01, 313.36°)
OKLaboklab(44.89% 0.1073 -0.1638)
OKLCHoklch(44.89% 0.196 303.2)
XYZxyz(14.3811, 7.6425, 39.2377)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D27AB #65AB27
analogous
#2B27AB #6D27AB #AB27A7
triadic
#6D27AB #AB6D27 #27AB6D
tetradic
#6D27AB #AB2B27 #65AB27 #27A7AB
square
#6D27AB #AB2B27 #65AB27 #27A7AB
split-complementary
#6D27AB #A7AB27 #27AB2B
monochromatic
#2D1047 #4D1C79 #6D27AB #8C3DD3 #AA6EDE

Accessibility & contrast

On white

8.30
#6D27AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D27AB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D27AB#FFFFFF#000000##FFFFFF
##6D27AB1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#604968
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d27ab;
/* rgb */ color: rgb(109, 39, 171);
/* oklch */ color: oklch(44.9% 0.196 303.2);
Tailwind
colors: {
  custom: {
    50: '#9d69c5',
    500: '#6d27ab',
    950: '#000000',
  },
}
SCSS
$custom: #6d27ab;
$custom-light: #9d69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d27ab",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 271.818,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44892,
    "c": 0.19582,
    "h": 303.2
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#6D27AB
secondary
#94C569
accent
#E6428F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D27AB

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

Preview Lab → · Contrast checker → · Palette generator →

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