#6E27A5#6E27A5

#6E27A5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.190 H 305.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6E27A5
RGBrgb(110, 39, 165)
HSLhsl(274, 62%, 40%)
HSVhsv(274, 76%, 65%)
CMYKcmyk(33.3%, 76.4%, 0%, 35.3%)
CIE-LABlab(32.88, 53.02, -54.40)
CIE-LCHlch(32.88, 75.97, 314.26°)
OKLaboklab(44.53% 0.1101 -0.1548)
OKLCHoklch(44.53% 0.19 305.4)
XYZxyz(13.9459, 7.4827, 36.2996)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27A5 #5EA527
analogous
#2F27A5 #6E27A5 #A5279D
triadic
#6E27A5 #A56E27 #27A56E
tetradic
#6E27A5 #A52F27 #5EA527 #279DA5
square
#6E27A5 #A52F27 #5EA527 #279DA5
split-complementary
#6E27A5 #9DA527 #27A52F
monochromatic
#2C1042 #4D1B74 #6E27A5 #8E39D0 #AA6ADC

Accessibility & contrast

On white

8.41
#6E27A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6E27A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27A5
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27A5#FFFFFF#000000##FFFFFF
##6E27A51.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#644765
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e27a5;
/* rgb */ color: rgb(110, 39, 165);
/* oklch */ color: oklch(44.5% 0.190 305.4);
Tailwind
colors: {
  custom: {
    50: '#9d69c1',
    500: '#6e27a5',
    950: '#000000',
  },
}
SCSS
$custom: #6e27a5;
$custom-light: #9d69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27a5",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 273.81,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.44528,
    "c": 0.18999,
    "h": 305.4
  },
  "luminance": 0.07483
}

Semantic roles & 50–950 ramp

primary
#6E27A5
secondary
#8EC266
accent
#E5438A
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E27A5

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

Preview Lab → · Contrast checker → · Palette generator →

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