#6E27A9#6E27A9

#6E27A9 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.9% C 0.194 H 304.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#6E27A9
RGBrgb(110, 39, 169)
HSLhsl(273, 63%, 41%)
HSVhsv(273, 77%, 66%)
CMYKcmyk(34.9%, 76.9%, 0%, 33.7%)
CIE-LABlab(33.20, 53.95, -56.29)
CIE-LCHlch(33.20, 77.97, 313.79°)
OKLaboklab(44.85% 0.1092 -0.1604)
OKLCHoklch(44.85% 0.194 304.2)
XYZxyz(14.3157, 7.6307, 38.2471)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27A9 #62A927
analogous
#2D27A9 #6E27A9 #A927A3
triadic
#6E27A9 #A96E27 #27A96E
tetradic
#6E27A9 #A92D27 #62A927 #27A3A9
square
#6E27A9 #A92D27 #62A927 #27A3A9
split-complementary
#6E27A9 #A3A927 #27A92D
monochromatic
#2D1046 #4E1C77 #6E27A9 #8E3BD2 #AA6DDD

Accessibility & contrast

On white

8.31
#6E27A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6E27A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27A9
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27A9#FFFFFF#000000##FFFFFF
##6E27A91.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#624867
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e27a9;
/* rgb */ color: rgb(110, 39, 169);
/* oklch */ color: oklch(44.9% 0.194 304.2);
Tailwind
colors: {
  custom: {
    50: '#9d69c3',
    500: '#6e27a9',
    950: '#000000',
  },
}
SCSS
$custom: #6e27a9;
$custom-light: #9d69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27a9",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 272.769,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44853,
    "c": 0.19401,
    "h": 304.2
  },
  "luminance": 0.07631
}

Semantic roles & 50–950 ramp

primary
#6E27A9
secondary
#92C468
accent
#E6428C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E27A9

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

Preview Lab → · Contrast checker → · Palette generator →

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