#6E27AD#6E27AD

#6E27AD is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.198 H 303.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6E27AD
RGBrgb(110, 39, 173)
HSLhsl(272, 63%, 42%)
HSVhsv(272, 77%, 68%)
CMYKcmyk(36.4%, 77.5%, 0%, 32.2%)
CIE-LABlab(33.53, 54.89, -58.15)
CIE-LCHlch(33.53, 79.97, 313.35°)
OKLaboklab(45.18% 0.1082 -0.1658)
OKLCHoklch(45.18% 0.198 303.1)
XYZxyz(14.6970, 7.7832, 40.2551)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27AD #66AD27
analogous
#2B27AD #6E27AD #AD27A9
triadic
#6E27AD #AD6E27 #27AD6E
tetradic
#6E27AD #AD2B27 #66AD27 #27A9AD
square
#6E27AD #AD2B27 #66AD27 #27A9AD
split-complementary
#6E27AD #A9AD27 #27AD2B
monochromatic
#2E1049 #4E1C7B #6E27AD #8D3ED3 #AB70DF

Accessibility & contrast

On white

8.21
#6E27AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6E27AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27AD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27AD#FFFFFF#000000##FFFFFF
##6E27AD1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#614A69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e27ad;
/* rgb */ color: rgb(110, 39, 173);
/* oklch */ color: oklch(45.2% 0.198 303.1);
Tailwind
colors: {
  custom: {
    50: '#9e69c6',
    500: '#6e27ad',
    950: '#000000',
  },
}
SCSS
$custom: #6e27ad;
$custom-light: #9e69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27ad",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 271.791,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45183,
    "c": 0.19803,
    "h": 303.1
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#6E27AD
secondary
#95C66A
accent
#E6428F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E27AD

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

Preview Lab → · Contrast checker → · Palette generator →

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