#6D32B6#6D32B6

#6D32B6 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.195 H 299.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6D32B6
RGBrgb(109, 50, 182)
HSLhsl(267, 57%, 45%)
HSVhsv(267, 73%, 71%)
CMYKcmyk(40.1%, 72.5%, 0%, 28.6%)
CIE-LABlab(35.81, 52.12, -59.79)
CIE-LCHlch(35.81, 79.32, 311.08°)
OKLaboklab(46.99% 0.0947 -0.1708)
OKLCHoklch(46.99% 0.195 299)
XYZxyz(15.8886, 8.9096, 45.1295)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D32B6 #7BB632
analogous
#3239B6 #6D32B6 #AF32B6
triadic
#6D32B6 #B66D32 #32B66D
tetradic
#6D32B6 #B63239 #7BB632 #32B6AF
square
#6D32B6 #B63239 #7BB632 #32B6AF
split-complementary
#6D32B6 #B6AF32 #39B632
monochromatic
#331856 #502586 #6D32B6 #8C55D0 #AD85DD

Accessibility & contrast

On white

7.55
#6D32B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D32B6
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D32B6#FFFFFF#000000##FFFFFF
##6D32B61.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#5C5371
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d32b6;
/* rgb */ color: rgb(109, 50, 182);
/* oklch */ color: oklch(47.0% 0.195 299.0);
Tailwind
colors: {
  custom: {
    50: '#9d6fcd',
    500: '#6d32b6',
    950: '#000000',
  },
}
SCSS
$custom: #6d32b6;
$custom-light: #9d6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d32b6",
  "rgb": {
    "r": 109,
    "g": 50,
    "b": 182
  },
  "hsl": {
    "h": 266.818,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4699,
    "c": 0.19529,
    "h": 299
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#6D32B6
secondary
#A6C77D
accent
#E0489C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D32B6

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

Preview Lab → · Contrast checker → · Palette generator →

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