#6E32AA#6E32AA

#6E32AA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.182 H 302.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#6E32AA
RGBrgb(110, 50, 170)
HSLhsl(270, 55%, 43%)
HSVhsv(270, 71%, 67%)
CMYKcmyk(35.3%, 70.6%, 0%, 33.3%)
CIE-LABlab(35.00, 49.32, -53.96)
CIE-LCHlch(35.00, 73.10, 312.43°)
OKLaboklab(46.15% 0.0984 -0.1536)
OKLCHoklch(46.15% 0.182 302.6)
XYZxyz(14.8250, 8.4985, 38.8818)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E32AA #6EAA32
analogous
#3232AA #6E32AA #AA32AA
triadic
#6E32AA #AA6E32 #32AA6E
tetradic
#6E32AA #AA3232 #6EAA32 #32AAAA
square
#6E32AA #AA3232 #6EAA32 #32AAAA
split-complementary
#6E32AA #AAAA32 #32AA32
monochromatic
#31164B #4F247B #6E32AA #8D4ECB #AB7DD9

Accessibility & contrast

On white

7.78
#6E32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6E32AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E32AA
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E32AA#FFFFFF#000000##FFFFFF
##6E32AA1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#624E6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e32aa;
/* rgb */ color: rgb(110, 50, 170);
/* oklch */ color: oklch(46.2% 0.182 302.6);
Tailwind
colors: {
  custom: {
    50: '#9d6fc4',
    500: '#6e32aa',
    950: '#000000',
  },
}
SCSS
$custom: #6e32aa;
$custom-light: #9d6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e32aa",
  "rgb": {
    "r": 110,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 270,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4615,
    "c": 0.1824,
    "h": 302.6
  },
  "luminance": 0.08498
}

Semantic roles & 50–950 ramp

primary
#6E32AA
secondary
#9CC276
accent
#DE4A94
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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