#6A328F#6A328F

#6A328F is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.151 H 309.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6A328F
RGBrgb(106, 50, 143)
HSLhsl(276, 48%, 38%)
HSVhsv(276, 65%, 56%)
CMYKcmyk(25.9%, 65%, 0%, 43.9%)
CIE-LABlab(32.54, 41.88, -41.58)
CIE-LCHlch(32.54, 59.02, 315.20°)
OKLaboklab(43.66% 0.0957 -0.1174)
OKLCHoklch(43.66% 0.151 309.2)
XYZxyz(12.0414, 7.3288, 26.7615)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A328F #578F32
analogous
#3B328F #6A328F #8F3285
triadic
#6A328F #8F6A32 #328F6A
tetradic
#6A328F #8F3B32 #578F32 #32858F
square
#6A328F #8F3B32 #578F32 #32858F
split-complementary
#6A328F #858F32 #328F3B
monochromatic
#271234 #482262 #6A328F #8C42BC #A76FCD

Accessibility & contrast

On white

8.52
#6A328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6A328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A328F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A328F#FFFFFF#000000##FFFFFF
##6A328F1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#244D8D
Tritanopia (blue-blind)
#65455C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a328f;
/* rgb */ color: rgb(106, 50, 143);
/* oklch */ color: oklch(43.7% 0.151 309.2);
Tailwind
colors: {
  custom: {
    50: '#986eb0',
    500: '#6a328f',
    950: '#000000',
  },
}
SCSS
$custom: #6a328f;
$custom-light: #986eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a328f",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 276.129,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43662,
    "c": 0.15145,
    "h": 309.2
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#6A328F
secondary
#87B468
accent
#D85086
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6A328F

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

Preview Lab → · Contrast checker → · Palette generator →

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