#6E28A9#6E28A9

#6E28A9 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.193 H 304.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#6E28A9
RGBrgb(110, 40, 169)
HSLhsl(273, 62%, 41%)
HSVhsv(273, 76%, 66%)
CMYKcmyk(34.9%, 76.3%, 0%, 33.7%)
CIE-LABlab(33.34, 53.54, -56.05)
CIE-LCHlch(33.34, 77.52, 313.69°)
OKLaboklab(44.95% 0.1083 -0.1597)
OKLCHoklch(44.95% 0.193 304.1)
XYZxyz(14.3490, 7.6972, 38.2582)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E28A9 #63A928
analogous
#2D28A9 #6E28A9 #A928A3
triadic
#6E28A9 #A96E28 #28A96E
tetradic
#6E28A9 #A92D28 #63A928 #28A3A9
square
#6E28A9 #A92D28 #63A928 #28A3A9
split-complementary
#6E28A9 #A3A928 #28A92D
monochromatic
#2E1146 #4E1C78 #6E28A9 #8D3DD1 #AA6FDD

Accessibility & contrast

On white

8.27
#6E28A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6E28A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E28A9
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E28A9#FFFFFF#000000##FFFFFF
##6E28A91.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e28a9;
/* rgb */ color: rgb(110, 40, 169);
/* oklch */ color: oklch(45.0% 0.193 304.1);
Tailwind
colors: {
  custom: {
    50: '#9d6ac3',
    500: '#6e28a9',
    950: '#000000',
  },
}
SCSS
$custom: #6e28a9;
$custom-light: #9d6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e28a9",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 272.558,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44953,
    "c": 0.19295,
    "h": 304.1
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#6E28A9
secondary
#93C469
accent
#E5438D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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