#6E27A7#6E27A7

#6E27A7 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.192 H 304.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6E27A7
RGBrgb(110, 39, 167)
HSLhsl(273, 62%, 40%)
HSVhsv(273, 77%, 65%)
CMYKcmyk(34.1%, 76.6%, 0%, 34.5%)
CIE-LABlab(33.04, 53.49, -55.35)
CIE-LCHlch(33.04, 76.97, 314.02°)
OKLaboklab(44.69% 0.1097 -0.1576)
OKLCHoklch(44.69% 0.192 304.8)
XYZxyz(14.1294, 7.5561, 37.2658)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27A7 #60A727
analogous
#2E27A7 #6E27A7 #A727A0
triadic
#6E27A7 #A76E27 #27A76E
tetradic
#6E27A7 #A72E27 #60A727 #27A0A7
square
#6E27A7 #A72E27 #60A727 #27A0A7
split-complementary
#6E27A7 #A0A727 #27A72E
monochromatic
#2D1044 #4D1B75 #6E27A7 #8E3AD1 #AA6CDD

Accessibility & contrast

On white

8.36
#6E27A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6E27A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27A7
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27A7#FFFFFF#000000##FFFFFF
##6E27A71.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#634766
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e27a7;
/* rgb */ color: rgb(110, 39, 167);
/* oklch */ color: oklch(44.7% 0.192 304.8);
Tailwind
colors: {
  custom: {
    50: '#9d69c2',
    500: '#6e27a7',
    950: '#000000',
  },
}
SCSS
$custom: #6e27a7;
$custom-light: #9d69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27a7",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 273.281,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4469,
    "c": 0.19201,
    "h": 304.8
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#6E27A7
secondary
#90C367
accent
#E5438B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E27A7

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

Preview Lab → · Contrast checker → · Palette generator →

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