#6E28AE#6E28AE

#6E28AE is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.198 H 302.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6E28AE
RGBrgb(110, 40, 174)
HSLhsl(271, 63%, 42%)
HSVhsv(271, 77%, 68%)
CMYKcmyk(36.8%, 77%, 0%, 31.8%)
CIE-LABlab(33.75, 54.72, -58.39)
CIE-LCHlch(33.75, 80.02, 313.14°)
OKLaboklab(45.36% 0.1071 -0.1665)
OKLCHoklch(45.36% 0.198 302.7)
XYZxyz(14.8274, 7.8885, 40.7777)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E28AE #68AE28
analogous
#2B28AE #6E28AE #AE28AB
triadic
#6E28AE #AE6E28 #28AE6E
tetradic
#6E28AE #AE2B28 #68AE28 #28ABAE
square
#6E28AE #AE2B28 #68AE28 #28ABAE
split-complementary
#6E28AE #ABAE28 #28AE2B
monochromatic
#2F114A #4F1D7C #6E28AE #8D40D3 #AB72DF

Accessibility & contrast

On white

8.15
#6E28AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6E28AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E28AE
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E28AE#FFFFFF#000000##FFFFFF
##6E28AE1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#614B6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e28ae;
/* rgb */ color: rgb(110, 40, 174);
/* oklch */ color: oklch(45.4% 0.198 302.7);
Tailwind
colors: {
  custom: {
    50: '#9e6ac7',
    500: '#6e28ae',
    950: '#000000',
  },
}
SCSS
$custom: #6e28ae;
$custom-light: #9e6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e28ae",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 271.343,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45364,
    "c": 0.19802,
    "h": 302.7
  },
  "luminance": 0.07889
}

Semantic roles & 50–950 ramp

primary
#6E28AE
secondary
#97C66C
accent
#E64290
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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