#6E27AF#6E27AF

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

Color values

HEX#6E27AF
RGBrgb(110, 39, 175)
HSLhsl(271, 64%, 42%)
HSVhsv(271, 78%, 69%)
CMYKcmyk(37.1%, 77.7%, 0%, 31.4%)
CIE-LABlab(33.69, 55.36, -59.08)
CIE-LCHlch(33.69, 80.96, 313.14°)
OKLaboklab(45.35% 0.1077 -0.1686)
OKLCHoklch(45.35% 0.2 302.6)
XYZxyz(14.8919, 7.8611, 41.2819)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27AF #68AF27
analogous
#2A27AF #6E27AF #AF27AC
triadic
#6E27AF #AF6E27 #27AF6E
tetradic
#6E27AF #AF2A27 #68AF27 #27ACAF
square
#6E27AF #AF2A27 #68AF27 #27ACAF
split-complementary
#6E27AF #ACAF27 #27AF2A
monochromatic
#2F114B #4F1C7D #6E27AF #8D3FD4 #AB71DF

Accessibility & contrast

On white

8.16
#6E27AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6E27AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27AF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27AF#FFFFFF#000000##FFFFFF
##6E27AF1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#604B6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e27af;
/* rgb */ color: rgb(110, 39, 175);
/* oklch */ color: oklch(45.4% 0.200 302.6);
Tailwind
colors: {
  custom: {
    50: '#9e69c8',
    500: '#6e27af',
    950: '#000000',
  },
}
SCSS
$custom: #6e27af;
$custom-light: #9e69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27af",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 271.324,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4535,
    "c": 0.20004,
    "h": 302.6
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#6E27AF
secondary
#97C66B
accent
#E74190
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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