#6D32B3#6D32B3

#6D32B3 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.192 H 299.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6D32B3
RGBrgb(109, 50, 179)
HSLhsl(267, 56%, 45%)
HSVhsv(267, 72%, 70%)
CMYKcmyk(39.1%, 72.1%, 0%, 29.8%)
CIE-LABlab(35.57, 51.36, -58.40)
CIE-LCHlch(35.57, 77.78, 311.33°)
OKLaboklab(46.75% 0.0953 -0.1667)
OKLCHoklch(46.75% 0.192 299.8)
XYZxyz(15.5819, 8.7869, 43.5142)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D32B3 #78B332
analogous
#3237B3 #6D32B3 #AE32B3
triadic
#6D32B3 #B36D32 #32B36D
tetradic
#6D32B3 #B33237 #78B332 #32B3AE
square
#6D32B3 #B33237 #78B332 #32B3AE
split-complementary
#6D32B3 #B3AE32 #37B332
monochromatic
#331753 #502583 #6D32B3 #8C53CF #AC83DC

Accessibility & contrast

On white

7.62
#6D32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D32B3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D32B3#FFFFFF#000000##FFFFFF
##6D32B31.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#5D526F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d32b3;
/* rgb */ color: rgb(109, 50, 179);
/* oklch */ color: oklch(46.7% 0.192 299.8);
Tailwind
colors: {
  custom: {
    50: '#9d6fcb',
    500: '#6d32b3',
    950: '#000000',
  },
}
SCSS
$custom: #6d32b3;
$custom-light: #9d6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d32b3",
  "rgb": {
    "r": 109,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 267.442,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46746,
    "c": 0.19203,
    "h": 299.8
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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