#6D27BA#6D27BA

#6D27BA is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.2% C 0.211 H 299.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6D27BA
RGBrgb(109, 39, 186)
HSLhsl(269, 65%, 44%)
HSVhsv(269, 79%, 73%)
CMYKcmyk(41.4%, 79%, 0%, 27.1%)
CIE-LABlab(34.49, 57.82, -64.31)
CIE-LCHlch(34.49, 86.48, 311.96°)
OKLaboklab(46.17% 0.1032 -0.184)
OKLCHoklch(46.17% 0.211 299.3)
XYZxyz(15.8929, 8.2472, 47.1994)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D27BA #74BA27
analogous
#272BBA #6D27BA #B727BA
triadic
#6D27BA #BA6D27 #27BA6D
tetradic
#6D27BA #BA272B #74BA27 #27BAB7
square
#6D27BA #BA272B #74BA27 #27BAB7
split-complementary
#6D27BA #BAB727 #2BBA27
monochromatic
#321255 #4F1C87 #6D27BA #8C46D8 #AB79E3

Accessibility & contrast

On white

7.93
#6D27BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6D27BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D27BA
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D27BA#FFFFFF#000000##FFFFFF
##6D27BA1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#5A5071
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d27ba;
/* rgb */ color: rgb(109, 39, 186);
/* oklch */ color: oklch(46.2% 0.211 299.3);
Tailwind
colors: {
  custom: {
    50: '#9e6ad0',
    500: '#6d27ba',
    950: '#000000',
  },
}
SCSS
$custom: #6d27ba;
$custom-light: #9e6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d27ba",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 268.571,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46168,
    "c": 0.21095,
    "h": 299.3
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#6D27BA
secondary
#A1CB72
accent
#E84098
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D27BA

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

Preview Lab → · Contrast checker → · Palette generator →

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