#6E27B1#6E27B1

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

Color values

HEX#6E27B1
RGBrgb(110, 39, 177)
HSLhsl(271, 64%, 42%)
HSVhsv(271, 78%, 69%)
CMYKcmyk(37.9%, 78%, 0%, 30.6%)
CIE-LABlab(33.86, 55.83, -60.00)
CIE-LCHlch(33.86, 81.96, 312.94°)
OKLaboklab(45.52% 0.1072 -0.1713)
OKLCHoklch(45.52% 0.202 302)
XYZxyz(15.0898, 7.9403, 42.3241)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27B1 #6AB127
analogous
#2927B1 #6E27B1 #B127AF
triadic
#6E27B1 #B16E27 #27B16E
tetradic
#6E27B1 #B12927 #6AB127 #27AFB1
square
#6E27B1 #B12927 #6AB127 #27AFB1
split-complementary
#6E27B1 #AFB127 #27B129
monochromatic
#30114D #4F1C7F #6E27B1 #8D40D5 #AB72E0

Accessibility & contrast

On white

8.11
#6E27B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6E27B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27B1
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27B1#FFFFFF#000000##FFFFFF
##6E27B11.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#5F4C6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e27b1;
/* rgb */ color: rgb(110, 39, 177);
/* oklch */ color: oklch(45.5% 0.202 302.0);
Tailwind
colors: {
  custom: {
    50: '#9e69c9',
    500: '#6e27b1',
    950: '#000000',
  },
}
SCSS
$custom: #6e27b1;
$custom-light: #9e69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27b1",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 270.87,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45517,
    "c": 0.20206,
    "h": 302
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E27B1

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

Preview Lab → · Contrast checker → · Palette generator →

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