#6E5AAA#6E5AAA

#6E5AAA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.4% C 0.123 H 293.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#6E5AAA
RGBrgb(110, 90, 170)
HSLhsl(255, 32%, 51%)
HSVhsv(255, 47%, 67%)
CMYKcmyk(35.3%, 47.1%, 0%, 33.3%)
CIE-LABlab(43.55, 26.90, -40.23)
CIE-LCHlch(43.55, 48.40, 303.77°)
OKLaboklab(52.42% 0.0486 -0.1134)
OKLCHoklch(52.42% 0.123 293.2)
XYZxyz(17.3404, 13.5292, 39.7202)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E5AAA #96AA5A
analogous
#5A6EAA #6E5AAA #965AAA
triadic
#6E5AAA #AA6E5A #5AAA6E
tetradic
#6E5AAA #AA5A6E #96AA5A #5AAA96
square
#6E5AAA #AA5A6E #96AA5A #5AAA96
split-complementary
#6E5AAA #AA965A #6EAA5A
monochromatic
#3A2F5B #534483 #6E5AAA #9182BF #B5ABD4

Accessibility & contrast

On white

5.67
#6E5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6E5AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E5AAA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E5AAA#FFFFFF#000000##FFFFFF
##6E5AAA1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#4165A8
Tritanopia (blue-blind)
#60697A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6e5aaa;
/* rgb */ color: rgb(110, 90, 170);
/* oklch */ color: oklch(52.4% 0.123 293.2);
Tailwind
colors: {
  custom: {
    50: '#9a89c4',
    500: '#6e5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #6e5aaa;
$custom-light: #9a89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e5aaa",
  "rgb": {
    "r": 110,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 255,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.12334,
    "h": 293.2
  },
  "luminance": 0.1353
}

Semantic roles & 50–950 ramp

primary
#6E5AAA
secondary
#B9C29E
accent
#C860AE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #6E5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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