#6D32B5#6D32B5

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

Color values

HEX#6D32B5
RGBrgb(109, 50, 181)
HSLhsl(267, 57%, 45%)
HSVhsv(267, 72%, 71%)
CMYKcmyk(39.8%, 72.4%, 0%, 29%)
CIE-LABlab(35.73, 51.87, -59.33)
CIE-LCHlch(35.73, 78.80, 311.16°)
OKLaboklab(46.91% 0.0949 -0.1694)
OKLCHoklch(46.91% 0.194 299.3)
XYZxyz(15.7857, 8.8684, 44.5872)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D32B5 #7AB532
analogous
#3238B5 #6D32B5 #AE32B5
triadic
#6D32B5 #B56D32 #32B56D
tetradic
#6D32B5 #B53238 #7AB532 #32B5AE
square
#6D32B5 #B53238 #7AB532 #32B5AE
split-complementary
#6D32B5 #B5AE32 #38B532
monochromatic
#331855 #502585 #6D32B5 #8C54D0 #AC84DD

Accessibility & contrast

On white

7.57
#6D32B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6D32B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D32B5
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D32B5#FFFFFF#000000##FFFFFF
##6D32B51.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#5C5370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d32b5;
/* rgb */ color: rgb(109, 50, 181);
/* oklch */ color: oklch(46.9% 0.194 299.3);
Tailwind
colors: {
  custom: {
    50: '#9d6fcc',
    500: '#6d32b5',
    950: '#000000',
  },
}
SCSS
$custom: #6d32b5;
$custom-light: #9d6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d32b5",
  "rgb": {
    "r": 109,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 267.023,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46908,
    "c": 0.1942,
    "h": 299.3
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#6D32B5
secondary
#A5C77C
accent
#E0489B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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