#6E27A4#6E27A4

#6E27A4 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.189 H 305.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#6E27A4
RGBrgb(110, 39, 164)
HSLhsl(274, 62%, 40%)
HSVhsv(274, 76%, 64%)
CMYKcmyk(32.9%, 76.2%, 0%, 35.7%)
CIE-LABlab(32.80, 52.79, -53.93)
CIE-LCHlch(32.80, 75.46, 314.39°)
OKLaboklab(44.45% 0.1103 -0.1534)
OKLCHoklch(44.45% 0.189 305.7)
XYZxyz(13.8553, 7.4465, 35.8222)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27A4 #5DA427
analogous
#3027A4 #6E27A4 #A4279B
triadic
#6E27A4 #A46E27 #27A46E
tetradic
#6E27A4 #A43027 #5DA427 #279BA4
square
#6E27A4 #A43027 #5DA427 #279BA4
split-complementary
#6E27A4 #9BA427 #27A430
monochromatic
#2C0F41 #4D1B73 #6E27A4 #8E38D0 #AA6ADC

Accessibility & contrast

On white

8.44
#6E27A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6E27A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27A4
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27A4#FFFFFF#000000##FFFFFF
##6E27A41.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#644664
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e27a4;
/* rgb */ color: rgb(110, 39, 164);
/* oklch */ color: oklch(44.4% 0.189 305.7);
Tailwind
colors: {
  custom: {
    50: '#9d69c0',
    500: '#6e27a4',
    950: '#000000',
  },
}
SCSS
$custom: #6e27a4;
$custom-light: #9d69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27a4",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 274.08,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44448,
    "c": 0.18899,
    "h": 305.7
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#6E27A4
secondary
#8DC265
accent
#E54389
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E27A4

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

Preview Lab → · Contrast checker → · Palette generator →

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