#6E32B1#6E32B1

#6E32B1 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.190 H 300.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6E32B1
RGBrgb(110, 50, 177)
HSLhsl(268, 56%, 45%)
HSVhsv(268, 72%, 69%)
CMYKcmyk(37.9%, 71.8%, 0%, 30.6%)
CIE-LABlab(35.54, 51.05, -57.26)
CIE-LCHlch(35.54, 76.71, 311.72°)
OKLaboklab(46.7% 0.0971 -0.1633)
OKLCHoklch(46.7% 0.19 300.7)
XYZxyz(15.5049, 8.7704, 42.4624)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E32B1 #75B132
analogous
#3236B1 #6E32B1 #AD32B1
triadic
#6E32B1 #B16E32 #32B16E
tetradic
#6E32B1 #B13236 #75B132 #32B1AD
square
#6E32B1 #B13236 #75B132 #32B1AD
split-complementary
#6E32B1 #B1AD32 #36B132
monochromatic
#331752 #502581 #6E32B1 #8D52CE #AC82DC

Accessibility & contrast

On white

7.62
#6E32B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6E32B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E32B1
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E32B1#FFFFFF#000000##FFFFFF
##6E32B11.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#5F516E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e32b1;
/* rgb */ color: rgb(110, 50, 177);
/* oklch */ color: oklch(46.7% 0.190 300.7);
Tailwind
colors: {
  custom: {
    50: '#9d6fc9',
    500: '#6e32b1',
    950: '#000000',
  },
}
SCSS
$custom: #6e32b1;
$custom-light: #9d6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e32b1",
  "rgb": {
    "r": 110,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 268.346,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46701,
    "c": 0.19001,
    "h": 300.7
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#6E32B1
secondary
#A1C57A
accent
#DF4998
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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