#6A329E#6A329E

#6A329E is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.168 H 304.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6A329E
RGBrgb(106, 50, 158)
HSLhsl(271, 52%, 41%)
HSVhsv(271, 68%, 62%)
CMYKcmyk(32.9%, 68.4%, 0%, 38%)
CIE-LABlab(33.59, 45.53, -49.04)
CIE-LCHlch(33.59, 66.92, 312.87°)
OKLaboklab(44.75% 0.0944 -0.1393)
OKLCHoklch(44.75% 0.168 304.1)
XYZxyz(13.2546, 7.8140, 33.1511)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A329E #669E32
analogous
#34329E #6A329E #9E329C
triadic
#6A329E #9E6A32 #329E6A
tetradic
#6A329E #9E3432 #669E32 #329C9E
square
#6A329E #9E3432 #669E32 #329C9E
split-complementary
#6A329E #9C9E32 #329E34
monochromatic
#2C1541 #4B2370 #6A329E #8948C5 #A777D4

Accessibility & contrast

On white

8.19
#6A329E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6A329E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A329E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A329E#FFFFFF#000000##FFFFFF
##6A329E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#084F9C
Tritanopia (blue-blind)
#604A64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a329e;
/* rgb */ color: rgb(106, 50, 158);
/* oklch */ color: oklch(44.8% 0.168 304.1);
Tailwind
colors: {
  custom: {
    50: '#996ebb',
    500: '#6a329e',
    950: '#000000',
  },
}
SCSS
$custom: #6a329e;
$custom-light: #996ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a329e",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 271.111,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4475,
    "c": 0.16827,
    "h": 304.1
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A329E

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

Preview Lab → · Contrast checker → · Palette generator →

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