#6B329E#6B329E

#6B329E is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.169 H 304.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6B329E
RGBrgb(107, 50, 158)
HSLhsl(272, 52%, 41%)
HSVhsv(272, 68%, 62%)
CMYKcmyk(32.3%, 68.4%, 0%, 38%)
CIE-LABlab(33.72, 45.74, -48.83)
CIE-LCHlch(33.72, 66.91, 313.13°)
OKLaboklab(44.87% 0.0958 -0.1386)
OKLCHoklch(44.87% 0.169 304.7)
XYZxyz(13.3742, 7.8757, 33.1567)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B329E #659E32
analogous
#35329E #6B329E #9E329B
triadic
#6B329E #9E6B32 #329E6B
tetradic
#6B329E #9E3532 #659E32 #329B9E
square
#6B329E #9E3532 #659E32 #329B9E
split-complementary
#6B329E #9B9E32 #329E35
monochromatic
#2C1541 #4C2370 #6B329E #8A48C5 #A877D4

Accessibility & contrast

On white

8.15
#6B329E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6B329E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B329E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B329E#FFFFFF#000000##FFFFFF
##6B329E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#0C4F9C
Tritanopia (blue-blind)
#624A64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b329e;
/* rgb */ color: rgb(107, 50, 158);
/* oklch */ color: oklch(44.9% 0.169 304.7);
Tailwind
colors: {
  custom: {
    50: '#9a6ebb',
    500: '#6b329e',
    950: '#000000',
  },
}
SCSS
$custom: #6b329e;
$custom-light: #9a6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b329e",
  "rgb": {
    "r": 107,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 271.667,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44872,
    "c": 0.16851,
    "h": 304.7
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#6B329E
secondary
#94BC70
accent
#DB4C90
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6B329E

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

Preview Lab → · Contrast checker → · Palette generator →

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