#6C3897#6C3897

#6C3897 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.3% C 0.152 H 306.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6C3897
RGBrgb(108, 56, 151)
HSLhsl(273, 46%, 41%)
HSVhsv(273, 63%, 59%)
CMYKcmyk(28.5%, 62.9%, 0%, 40.8%)
CIE-LABlab(34.50, 41.15, -43.32)
CIE-LCHlch(34.50, 59.75, 313.53°)
OKLaboklab(45.31% 0.0905 -0.1224)
OKLCHoklch(45.31% 0.152 306.5)
XYZxyz(13.1832, 8.2510, 30.1702)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3897 #639738
analogous
#3C3897 #6C3897 #973892
triadic
#6C3897 #976C38 #38976C
tetradic
#6C3897 #973C38 #639738 #389297
square
#6C3897 #973C38 #639738 #389297
split-complementary
#6C3897 #929738 #38973C
monochromatic
#2C173E #4C276A #6C3897 #8B4FBE #A97BCE

Accessibility & contrast

On white

7.92
#6C3897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6C3897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3897
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3897#FFFFFF#000000##FFFFFF
##6C38971.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034F9A
Deuteranopia (green-blind)
#255195
Tritanopia (blue-blind)
#654B62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c3897;
/* rgb */ color: rgb(108, 56, 151);
/* oklch */ color: oklch(45.3% 0.152 306.5);
Tailwind
colors: {
  custom: {
    50: '#9972b6',
    500: '#6c3897',
    950: '#000000',
  },
}
SCSS
$custom: #6c3897;
$custom-light: #9972b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3897",
  "rgb": {
    "r": 108,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 272.842,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45306,
    "c": 0.15227,
    "h": 306.5
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#6C3897
secondary
#92B773
accent
#D6528E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6C3897

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

Preview Lab → · Contrast checker → · Palette generator →

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