#6E28AA#6E28AA

#6E28AA is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.194 H 303.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#6E28AA
RGBrgb(110, 40, 170)
HSLhsl(272, 62%, 41%)
HSVhsv(272, 76%, 67%)
CMYKcmyk(35.3%, 76.5%, 0%, 33.3%)
CIE-LABlab(33.42, 53.78, -56.52)
CIE-LCHlch(33.42, 78.02, 313.58°)
OKLaboklab(45.04% 0.1081 -0.1611)
OKLCHoklch(45.04% 0.194 303.9)
XYZxyz(14.4432, 7.7349, 38.7545)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E28AA #64AA28
analogous
#2D28AA #6E28AA #AA28A5
triadic
#6E28AA #AA6E28 #28AA6E
tetradic
#6E28AA #AA2D28 #64AA28 #28A5AA
square
#6E28AA #AA2D28 #64AA28 #28A5AA
split-complementary
#6E28AA #A5AA28 #28AA2D
monochromatic
#2E1147 #4E1C78 #6E28AA #8D3ED2 #AA6FDD

Accessibility & contrast

On white

8.24
#6E28AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6E28AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E28AA
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E28AA#FFFFFF#000000##FFFFFF
##6E28AA1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#624968
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e28aa;
/* rgb */ color: rgb(110, 40, 170);
/* oklch */ color: oklch(45.0% 0.194 303.9);
Tailwind
colors: {
  custom: {
    50: '#9d6ac4',
    500: '#6e28aa',
    950: '#000000',
  },
}
SCSS
$custom: #6e28aa;
$custom-light: #9d6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e28aa",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 272.308,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45035,
    "c": 0.19397,
    "h": 303.9
  },
  "luminance": 0.07735
}

Semantic roles & 50–950 ramp

primary
#6E28AA
secondary
#93C46A
accent
#E5438E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E28AA

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

Preview Lab → · Contrast checker → · Palette generator →

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