#6C5397#6C5397

#6C5397 is a mid, moderate violet. Relative luminance 0.116; OKLCH L 49.8% C 0.108 H 299.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6C5397
RGBrgb(108, 83, 151)
HSLhsl(262, 29%, 46%)
HSVhsv(262, 45%, 59%)
CMYKcmyk(28.5%, 45%, 0%, 40.8%)
CIE-LABlab(40.59, 25.46, -33.62)
CIE-LCHlch(40.59, 42.18, 307.13°)
OKLaboklab(49.81% 0.0531 -0.0942)
OKLCHoklch(49.81% 0.108 299.4)
XYZxyz(14.8622, 11.6089, 30.7299)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5397 #7E9753
analogous
#535C97 #6C5397 #8E5397
triadic
#6C5397 #976C53 #53976C
tetradic
#6C5397 #97535C #7E9753 #53978E
square
#6C5397 #97535C #7E9753 #53978E
split-complementary
#6C5397 #978E53 #5C9753
monochromatic
#342848 #503D70 #6C5397 #8B74B3 #AC9CC9

Accessibility & contrast

On white

6.32
#6C5397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6C5397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5397
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5397#FFFFFF#000000##FFFFFF
##6C53971.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406099
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#645F6E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6c5397;
/* rgb */ color: rgb(108, 83, 151);
/* oklch */ color: oklch(49.8% 0.108 299.4);
Tailwind
colors: {
  custom: {
    50: '#9884b6',
    500: '#6c5397',
    950: '#000000',
  },
}
SCSS
$custom: #6c5397;
$custom-light: #9884b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5397",
  "rgb": {
    "r": 108,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 262.059,
    "s": 29.06,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49811,
    "c": 0.1081,
    "h": 299.4
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#6C5397
secondary
#A8B690
accent
#C562A1
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #6C5397

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

Preview Lab → · Contrast checker → · Palette generator →

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