#6E32B2#6E32B2

#6E32B2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.191 H 300.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#6E32B2
RGBrgb(110, 50, 178)
HSLhsl(268, 56%, 45%)
HSVhsv(268, 72%, 70%)
CMYKcmyk(38.2%, 71.9%, 0%, 30.2%)
CIE-LABlab(35.62, 51.30, -57.73)
CIE-LCHlch(35.62, 77.23, 311.63°)
OKLaboklab(46.78% 0.097 -0.1647)
OKLCHoklch(46.78% 0.191 300.5)
XYZxyz(15.6049, 8.8104, 42.9893)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E32B2 #76B232
analogous
#3236B2 #6E32B2 #AE32B2
triadic
#6E32B2 #B26E32 #32B26E
tetradic
#6E32B2 #B23236 #76B232 #32B2AE
square
#6E32B2 #B23236 #76B232 #32B2AE
split-complementary
#6E32B2 #B2AE32 #36B232
monochromatic
#331752 #502582 #6E32B2 #8D53CF #AC82DC

Accessibility & contrast

On white

7.60
#6E32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6E32B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E32B2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E32B2#FFFFFF#000000##FFFFFF
##6E32B21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#5F516F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e32b2;
/* rgb */ color: rgb(110, 50, 178);
/* oklch */ color: oklch(46.8% 0.191 300.5);
Tailwind
colors: {
  custom: {
    50: '#9d6fca',
    500: '#6e32b2',
    950: '#000000',
  },
}
SCSS
$custom: #6e32b2;
$custom-light: #9d6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6e32b2",
  "rgb": {
    "r": 110,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 268.125,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46781,
    "c": 0.1911,
    "h": 300.5
  },
  "luminance": 0.08811
}

Semantic roles & 50–950 ramp

primary
#6E32B2
secondary
#A2C57B
accent
#DF4899
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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