#6A327B#6A327B

#6A327B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.3% C 0.129 H 317.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#6A327B
RGBrgb(106, 50, 123)
HSLhsl(286, 42%, 34%)
HSVhsv(286, 59%, 48%)
CMYKcmyk(13.8%, 59.3%, 0%, 51.8%)
CIE-LABlab(31.29, 37.28, -31.16)
CIE-LCHlch(31.29, 48.59, 320.11°)
OKLaboklab(42.35% 0.0956 -0.0869)
OKLCHoklch(42.35% 0.129 317.7)
XYZxyz(10.6591, 6.7758, 19.4814)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A327B #437B32
analogous
#46327B #6A327B #7B3268
triadic
#6A327B #7B6A32 #327B6A
tetradic
#6A327B #7B4632 #437B32 #32687B
square
#6A327B #7B4632 #437B32 #32687B
split-complementary
#6A327B #687B32 #327B46
monochromatic
#1F0F24 #45204F #6A327B #8F44A7 #AC66C1

Accessibility & contrast

On white

8.92
#6A327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6A327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A327B
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A327B#FFFFFF#000000##FFFFFF
##6A327B1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467D
Deuteranopia (green-blind)
#354B79
Tritanopia (blue-blind)
#6A3E51
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a327b;
/* rgb */ color: rgb(106, 50, 123);
/* oklch */ color: oklch(42.3% 0.129 317.7);
Tailwind
colors: {
  custom: {
    50: '#976da1',
    500: '#6a327b',
    950: '#000000',
  },
}
SCSS
$custom: #6a327b;
$custom-light: #976da1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a327b",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 286.027,
    "s": 42.197,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42348,
    "c": 0.12919,
    "h": 317.7
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#6A327B
secondary
#71A960
accent
#D25673
background
#F9F6FA
surface
#F2ECF3
border
#CCC7CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6A327B

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

Preview Lab → · Contrast checker → · Palette generator →

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