#6A329F#6A329F

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

Color values

HEX#6A329F
RGBrgb(106, 50, 159)
HSLhsl(271, 52%, 41%)
HSVhsv(271, 69%, 62%)
CMYKcmyk(33.3%, 68.6%, 0%, 37.6%)
CIE-LABlab(33.67, 45.77, -49.53)
CIE-LCHlch(33.67, 67.44, 312.74°)
OKLaboklab(44.83% 0.0943 -0.1407)
OKLCHoklch(44.83% 0.169 303.8)
XYZxyz(13.3410, 7.8486, 33.6063)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A329F #679F32
analogous
#34329F #6A329F #9F329D
triadic
#6A329F #9F6A32 #329F6A
tetradic
#6A329F #9F3432 #679F32 #329D9F
square
#6A329F #9F3432 #679F32 #329D9F
split-complementary
#6A329F #9D9F32 #329F34
monochromatic
#2C1542 #4B2370 #6A329F #8949C6 #A777D4

Accessibility & contrast

On white

8.17
#6A329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6A329F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A329F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A329F#FFFFFF#000000##FFFFFF
##6A329F1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#044F9D
Tritanopia (blue-blind)
#604B64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a329f;
/* rgb */ color: rgb(106, 50, 159);
/* oklch */ color: oklch(44.8% 0.169 303.8);
Tailwind
colors: {
  custom: {
    50: '#996ebc',
    500: '#6a329f',
    950: '#000000',
  },
}
SCSS
$custom: #6a329f;
$custom-light: #996ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a329f",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 270.826,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44826,
    "c": 0.16939,
    "h": 303.8
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#6A329F
secondary
#95BD70
accent
#DC4C92
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A329F

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

Preview Lab → · Contrast checker → · Palette generator →

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