#6D27B1#6D27B1

#6D27B1 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.202 H 301.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6D27B1
RGBrgb(109, 39, 177)
HSLhsl(270, 64%, 42%)
HSVhsv(270, 78%, 69%)
CMYKcmyk(38.4%, 78%, 0%, 30.6%)
CIE-LABlab(33.72, 55.67, -60.22)
CIE-LCHlch(33.72, 82.01, 312.75°)
OKLaboklab(45.4% 0.1057 -0.172)
OKLCHoklch(45.4% 0.202 301.6)
XYZxyz(14.9661, 7.8765, 42.3183)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D27B1 #6BB127
analogous
#2827B1 #6D27B1 #B127B0
triadic
#6D27B1 #B16D27 #27B16D
tetradic
#6D27B1 #B12827 #6BB127 #27B0B1
square
#6D27B1 #B12827 #6BB127 #27B0B1
split-complementary
#6D27B1 #B0B127 #27B128
monochromatic
#2F114D #4E1C7F #6D27B1 #8C40D5 #AA72E0

Accessibility & contrast

On white

8.15
#6D27B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6D27B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D27B1
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D27B1#FFFFFF#000000##FFFFFF
##6D27B11.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#5E4C6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d27b1;
/* rgb */ color: rgb(109, 39, 177);
/* oklch */ color: oklch(45.4% 0.202 301.6);
Tailwind
colors: {
  custom: {
    50: '#9d69c9',
    500: '#6d27b1',
    950: '#000000',
  },
}
SCSS
$custom: #6d27b1;
$custom-light: #9d69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d27b1",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 270.435,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45395,
    "c": 0.20187,
    "h": 301.6
  },
  "luminance": 0.07877
}

Semantic roles & 50–950 ramp

primary
#6D27B1
secondary
#99C76D
accent
#E74193
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D27B1

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

Preview Lab → · Contrast checker → · Palette generator →

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