#6C5995#6C5995

#6C5995 is a mid, moderate violet. Relative luminance 0.125; OKLCH L 50.8% C 0.095 H 297.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6C5995
RGBrgb(108, 89, 149)
HSLhsl(259, 25%, 47%)
HSVhsv(259, 40%, 58%)
CMYKcmyk(27.5%, 40.3%, 0%, 41.6%)
CIE-LABlab(42.00, 21.26, -30.19)
CIE-LCHlch(42.00, 36.93, 305.15°)
OKLaboklab(50.85% 0.0439 -0.0842)
OKLCHoklch(50.85% 0.095 297.5)
XYZxyz(15.1803, 12.5027, 30.0414)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5995 #829559
analogous
#596495 #6C5995 #8A5995
triadic
#6C5995 #956C59 #59956C
tetradic
#6C5995 #955964 #829559 #59958A
square
#6C5995 #955964 #829559 #59958A
split-complementary
#6C5995 #958A59 #649559
monochromatic
#342B48 #50426F #6C5995 #8C7BB0 #ADA1C7

Accessibility & contrast

On white

6.00
#6C5995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6C5995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5995
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5995#FFFFFF#000000##FFFFFF
##6C59951.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496397
Deuteranopia (green-blind)
#4C6293
Tritanopia (blue-blind)
#646370
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6c5995;
/* rgb */ color: rgb(108, 89, 149);
/* oklch */ color: oklch(50.8% 0.095 297.5);
Tailwind
colors: {
  custom: {
    50: '#9788b4',
    500: '#6c5995',
    950: '#000000',
  },
}
SCSS
$custom: #6c5995;
$custom-light: #9788b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5995",
  "rgb": {
    "r": 108,
    "g": 89,
    "b": 149
  },
  "hsl": {
    "h": 259,
    "s": 25.21,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50849,
    "c": 0.09495,
    "h": 297.5
  },
  "luminance": 0.12503
}

Semantic roles & 50–950 ramp

primary
#6C5995
secondary
#ABB595
accent
#C266A5
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #6C5995

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

Preview Lab → · Contrast checker → · Palette generator →

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