#6E32B4#6E32B4

#6E32B4 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.193 H 300.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6E32B4
RGBrgb(110, 50, 180)
HSLhsl(268, 57%, 45%)
HSVhsv(268, 72%, 71%)
CMYKcmyk(38.9%, 72.2%, 0%, 29.4%)
CIE-LABlab(35.77, 51.80, -58.66)
CIE-LCHlch(35.77, 78.26, 311.45°)
OKLaboklab(46.94% 0.0966 -0.1674)
OKLCHoklch(46.94% 0.193 300)
XYZxyz(15.8072, 8.8913, 44.0546)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E32B4 #78B432
analogous
#3237B4 #6E32B4 #AF32B4
triadic
#6E32B4 #B46E32 #32B46E
tetradic
#6E32B4 #B43237 #78B432 #32B4AF
square
#6E32B4 #B43237 #78B432 #32B4AF
split-complementary
#6E32B4 #B4AF32 #37B432
monochromatic
#331754 #512584 #6E32B4 #8D54CF #AD84DD

Accessibility & contrast

On white

7.56
#6E32B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6E32B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E32B4
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E32B4#FFFFFF#000000##FFFFFF
##6E32B41.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#5E5270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e32b4;
/* rgb */ color: rgb(110, 50, 180);
/* oklch */ color: oklch(46.9% 0.193 300.0);
Tailwind
colors: {
  custom: {
    50: '#9e6fcb',
    500: '#6e32b4',
    950: '#000000',
  },
}
SCSS
$custom: #6e32b4;
$custom-light: #9e6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e32b4",
  "rgb": {
    "r": 110,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 267.692,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46942,
    "c": 0.19326,
    "h": 300
  },
  "luminance": 0.08891
}

Semantic roles & 50–950 ramp

primary
#6E32B4
secondary
#A4C67C
accent
#E0489A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E32B4

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

Preview Lab → · Contrast checker → · Palette generator →

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