#6A328E#6A328E

#6A328E is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.150 H 309.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#6A328E
RGBrgb(106, 50, 142)
HSLhsl(277, 48%, 38%)
HSVhsv(277, 65%, 56%)
CMYKcmyk(25.4%, 64.8%, 0%, 44.3%)
CIE-LABlab(32.48, 41.64, -41.08)
CIE-LCHlch(32.48, 58.49, 315.39°)
OKLaboklab(43.59% 0.0958 -0.1159)
OKLCHoklch(43.59% 0.15 309.6)
XYZxyz(11.9660, 7.2986, 26.3643)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A328E #568E32
analogous
#3C328E #6A328E #8E3284
triadic
#6A328E #8E6A32 #328E6A
tetradic
#6A328E #8E3C32 #568E32 #32848E
square
#6A328E #8E3C32 #568E32 #32848E
split-complementary
#6A328E #848E32 #328E3C
monochromatic
#261233 #482261 #6A328E #8C42BB #A76ECC

Accessibility & contrast

On white

8.54
#6A328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6A328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A328E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A328E#FFFFFF#000000##FFFFFF
##6A328E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#254D8C
Tritanopia (blue-blind)
#65445B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a328e;
/* rgb */ color: rgb(106, 50, 142);
/* oklch */ color: oklch(43.6% 0.150 309.6);
Tailwind
colors: {
  custom: {
    50: '#986db0',
    500: '#6a328e',
    950: '#000000',
  },
}
SCSS
$custom: #6a328e;
$custom-light: #986db0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a328e",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 276.522,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43592,
    "c": 0.15033,
    "h": 309.6
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#6A328E
secondary
#86B468
accent
#D85085
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6A328E

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

Preview Lab → · Contrast checker → · Palette generator →

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