#6A3296#6A3296

#6A3296 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.159 H 306.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6A3296
RGBrgb(106, 50, 150)
HSLhsl(274, 50%, 39%)
HSVhsv(274, 67%, 59%)
CMYKcmyk(29.3%, 66.7%, 0%, 41.2%)
CIE-LABlab(33.02, 43.56, -45.10)
CIE-LCHlch(33.02, 62.71, 314.01°)
OKLaboklab(44.16% 0.0952 -0.1277)
OKLCHoklch(44.16% 0.159 306.7)
XYZxyz(12.5883, 7.5475, 29.6419)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3296 #5E9632
analogous
#383296 #6A3296 #963290
triadic
#6A3296 #966A32 #32966A
tetradic
#6A3296 #963832 #5E9632 #329096
square
#6A3296 #963832 #5E9632 #329096
split-complementary
#6A3296 #909632 #329638
monochromatic
#29133A #4A2368 #6A3296 #8A44C1 #A772D0

Accessibility & contrast

On white

8.37
#6A3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6A3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3296
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3296#FFFFFF#000000##FFFFFF
##6A32961.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#1B4E94
Tritanopia (blue-blind)
#63475F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a3296;
/* rgb */ color: rgb(106, 50, 150);
/* oklch */ color: oklch(44.2% 0.159 306.7);
Tailwind
colors: {
  custom: {
    50: '#986eb5',
    500: '#6a3296',
    950: '#000000',
  },
}
SCSS
$custom: #6a3296;
$custom-light: #986eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3296",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 273.6,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44159,
    "c": 0.1593,
    "h": 306.7
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#6A3296
secondary
#8DB86C
accent
#DA4E8C
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A3296

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

Preview Lab → · Contrast checker → · Palette generator →

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