#6E32A4#6E32A4

#6E32A4 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.176 H 304.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#6E32A4
RGBrgb(110, 50, 164)
HSLhsl(272, 53%, 42%)
HSVhsv(272, 70%, 64%)
CMYKcmyk(32.9%, 69.5%, 0%, 35.7%)
CIE-LABlab(34.55, 47.85, -51.09)
CIE-LCHlch(34.55, 70.00, 313.13°)
OKLaboklab(45.69% 0.0993 -0.1451)
OKLCHoklch(45.69% 0.176 304.4)
XYZxyz(14.2703, 8.2766, 35.9605)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E32A4 #68A432
analogous
#3532A4 #6E32A4 #A432A1
triadic
#6E32A4 #A46E32 #32A46E
tetradic
#6E32A4 #A43532 #68A432 #32A1A4
square
#6E32A4 #A43532 #68A432 #32A1A4
split-complementary
#6E32A4 #A1A432 #32A435
monochromatic
#2F1546 #4F2475 #6E32A4 #8D4BC8 #AB7AD6

Accessibility & contrast

On white

7.91
#6E32A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6E32A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E32A4
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E32A4#FFFFFF#000000##FFFFFF
##6E32A41.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#644C67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e32a4;
/* rgb */ color: rgb(110, 50, 164);
/* oklch */ color: oklch(45.7% 0.176 304.4);
Tailwind
colors: {
  custom: {
    50: '#9c6fc0',
    500: '#6e32a4',
    950: '#000000',
  },
}
SCSS
$custom: #6e32a4;
$custom-light: #9c6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e32a4",
  "rgb": {
    "r": 110,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 271.579,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45689,
    "c": 0.17584,
    "h": 304.4
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#6E32A4
secondary
#97BF73
accent
#DD4B90
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E32A4

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

Preview Lab → · Contrast checker → · Palette generator →

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