#6A3497#6A3497

#6A3497 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.5% C 0.158 H 306.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6A3497
RGBrgb(106, 52, 151)
HSLhsl(273, 49%, 40%)
HSVhsv(273, 66%, 59%)
CMYKcmyk(29.8%, 65.6%, 0%, 40.8%)
CIE-LABlab(33.47, 42.78, -44.99)
CIE-LCHlch(33.47, 62.09, 313.55°)
OKLaboklab(44.5% 0.0927 -0.1274)
OKLCHoklch(44.5% 0.158 306.1)
XYZxyz(12.7566, 7.7546, 30.0969)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3497 #619734
analogous
#393497 #6A3497 #973493
triadic
#6A3497 #976A34 #34976A
tetradic
#6A3497 #973934 #619734 #349397
square
#6A3497 #973934 #619734 #349397
split-complementary
#6A3497 #939734 #349739
monochromatic
#2A153C #4A2469 #6A3497 #8A48C0 #A776D0

Accessibility & contrast

On white

8.23
#6A3497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6A3497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3497
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3497#FFFFFF#000000##FFFFFF
##6A34971.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#1D4F95
Tritanopia (blue-blind)
#624961
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a3497;
/* rgb */ color: rgb(106, 52, 151);
/* oklch */ color: oklch(44.5% 0.158 306.1);
Tailwind
colors: {
  custom: {
    50: '#986fb6',
    500: '#6a3497',
    950: '#000000',
  },
}
SCSS
$custom: #6a3497;
$custom-light: #986fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3497",
  "rgb": {
    "r": 106,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 272.727,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44502,
    "c": 0.15758,
    "h": 306.1
  },
  "luminance": 0.07755
}

Semantic roles & 50–950 ramp

primary
#6A3497
secondary
#90B86F
accent
#D84F8E
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A3497

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

Preview Lab → · Contrast checker → · Palette generator →

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