#6E27A1#6E27A1

#6E27A1 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.186 H 306.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#6E27A1
RGBrgb(110, 39, 161)
HSLhsl(275, 61%, 39%)
HSVhsv(275, 76%, 63%)
CMYKcmyk(31.7%, 75.8%, 0%, 36.9%)
CIE-LABlab(32.57, 52.10, -52.50)
CIE-LCHlch(32.57, 73.96, 314.78°)
OKLaboklab(44.21% 0.111 -0.1492)
OKLCHoklch(44.21% 0.186 306.6)
XYZxyz(13.5876, 7.3394, 34.4121)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27A1 #5AA127
analogous
#3127A1 #6E27A1 #A12797
triadic
#6E27A1 #A16E27 #27A16E
tetradic
#6E27A1 #A13127 #5AA127 #2797A1
square
#6E27A1 #A13127 #5AA127 #2797A1
split-complementary
#6E27A1 #97A127 #27A131
monochromatic
#2B0F3E #4C1B70 #6E27A1 #8F37CE #AB68DA

Accessibility & contrast

On white

8.51
#6E27A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6E27A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27A1
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27A1#FFFFFF#000000##FFFFFF
##6E27A11.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#654562
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e27a1;
/* rgb */ color: rgb(110, 39, 161);
/* oklch */ color: oklch(44.2% 0.186 306.6);
Tailwind
colors: {
  custom: {
    50: '#9c69be',
    500: '#6e27a1',
    950: '#000000',
  },
}
SCSS
$custom: #6e27a1;
$custom-light: #9c69be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27a1",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 274.918,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44209,
    "c": 0.18597,
    "h": 306.6
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#6E27A1
secondary
#8AC063
accent
#E44487
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E27A1

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

Preview Lab → · Contrast checker → · Palette generator →

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