#6E27A8#6E27A8

#6E27A8 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.193 H 304.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6E27A8
RGBrgb(110, 39, 168)
HSLhsl(273, 62%, 41%)
HSVhsv(273, 77%, 66%)
CMYKcmyk(34.5%, 76.8%, 0%, 34.1%)
CIE-LABlab(33.12, 53.72, -55.82)
CIE-LCHlch(33.12, 77.47, 313.90°)
OKLaboklab(44.77% 0.1094 -0.159)
OKLCHoklch(44.77% 0.193 304.5)
XYZxyz(14.2222, 7.5932, 37.7546)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27A8 #61A827
analogous
#2D27A8 #6E27A8 #A827A1
triadic
#6E27A8 #A86E27 #27A86E
tetradic
#6E27A8 #A82D27 #61A827 #27A1A8
square
#6E27A8 #A82D27 #61A827 #27A1A8
split-complementary
#6E27A8 #A1A827 #27A82D
monochromatic
#2D1045 #4D1B76 #6E27A8 #8E3BD1 #AA6CDD

Accessibility & contrast

On white

8.34
#6E27A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6E27A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27A8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27A8#FFFFFF#000000##FFFFFF
##6E27A81.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#634866
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e27a8;
/* rgb */ color: rgb(110, 39, 168);
/* oklch */ color: oklch(44.8% 0.193 304.5);
Tailwind
colors: {
  custom: {
    50: '#9d69c3',
    500: '#6e27a8',
    950: '#000000',
  },
}
SCSS
$custom: #6e27a8;
$custom-light: #9d69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27a8",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 273.023,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44772,
    "c": 0.19301,
    "h": 304.5
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#6E27A8
secondary
#91C367
accent
#E5428C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E27A8

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

Preview Lab → · Contrast checker → · Palette generator →

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